This commit is contained in:
Mateusz779 2023-04-13 12:29:24 +02:00
parent fd36c7d4d6
commit 40714f109b

2
app.py
View File

@ -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: