-
This commit is contained in:
parent
fd36c7d4d6
commit
40714f109b
2
app.py
2
app.py
@ -37,7 +37,7 @@ def login_api():
|
|||||||
username = request.form['username']
|
username = request.form['username']
|
||||||
password = request.form['password']
|
password = request.form['password']
|
||||||
#register
|
#register
|
||||||
db.add_user(username, password)
|
#db.add_user(username, password)
|
||||||
#register
|
#register
|
||||||
auth_token = db.login(username, password)
|
auth_token = db.login(username, password)
|
||||||
if auth_token is None:
|
if auth_token is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user