I think that when logging in with a client which will be deleted in the later command, there was an error
This commit is contained in:
parent
fc7c85d592
commit
1127ee0ebc
@ -61,6 +61,7 @@ async def login_for_access_token(
|
||||
if allowed:
|
||||
history = LoginHistory(user.id, client.id)
|
||||
db.add(history)
|
||||
db.flush()
|
||||
db.execute(
|
||||
LoginHistory.__table__.delete(
|
||||
or_(
|
||||
|
Loading…
Reference in New Issue
Block a user