Compare commits
1 Commits
00619cbd05
...
a850a526e6
Author | SHA1 | Date | |
---|---|---|---|
a850a526e6 |
@ -24,7 +24,7 @@ def auth(username, password):
|
||||
if user is None:
|
||||
user = User(auth_id=username)
|
||||
db.session.add(user)
|
||||
|
||||
|
||||
token = Token(token=str(uuid.uuid4()), user=user)
|
||||
db.session.add(token)
|
||||
db.session.commit()
|
||||
|
Loading…
Reference in New Issue
Block a user