Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -64,6 +64,8 @@ def login_auth(username, password):
|
|
64 |
#If the matching user/password record is found:
|
65 |
if data.get('records'):
|
66 |
|
|
|
|
|
67 |
#Log that the user logged in
|
68 |
log_login(username)
|
69 |
|
|
|
64 |
#If the matching user/password record is found:
|
65 |
if data.get('records'):
|
66 |
|
67 |
+
user_details = data['records'][0]['fields']
|
68 |
+
|
69 |
#Log that the user logged in
|
70 |
log_login(username)
|
71 |
|