Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -59,6 +59,12 @@ def login_auth(username, password):
|
|
59 |
|
60 |
response = requests.get(airtable_endpoint, headers=headers, params=params)
|
61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
if response.status_code == 200:
|
63 |
data = response.json()
|
64 |
#If the matching user/password record is found:
|
@@ -73,7 +79,7 @@ def login_auth(username, password):
|
|
73 |
|
74 |
return True
|
75 |
|
76 |
-
print(f"Invalid user/password combination")
|
77 |
|
78 |
return False
|
79 |
|
|
|
59 |
|
60 |
response = requests.get(airtable_endpoint, headers=headers, params=params)
|
61 |
|
62 |
+
print(headers)
|
63 |
+
print(params)
|
64 |
+
print(username)
|
65 |
+
print(password)
|
66 |
+
print(response)
|
67 |
+
|
68 |
if response.status_code == 200:
|
69 |
data = response.json()
|
70 |
#If the matching user/password record is found:
|
|
|
79 |
|
80 |
return True
|
81 |
|
82 |
+
print(f"Invalid user/password combination (Airtable)")
|
83 |
|
84 |
return False
|
85 |
|