Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,7 @@ async def loginAPI():
|
|
| 94 |
if data == []:
|
| 95 |
return make_response(json.dumps({"message": "Username does not exist"})), 401
|
| 96 |
user = data["username"]
|
| 97 |
-
return make_response(json.dumps(data)),
|
| 98 |
"""
|
| 99 |
jwtPass = jwtDecode(data["password"])
|
| 100 |
if jwtPass[0] == "good":
|
|
|
|
| 94 |
if data == []:
|
| 95 |
return make_response(json.dumps({"message": "Username does not exist"})), 401
|
| 96 |
user = data["username"]
|
| 97 |
+
return make_response(json.dumps(data)), 401
|
| 98 |
"""
|
| 99 |
jwtPass = jwtDecode(data["password"])
|
| 100 |
if jwtPass[0] == "good":
|