mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
fix user check on refresh
This commit is contained in:
parent
d8904d1fa6
commit
034bdef9fc
@ -186,7 +186,7 @@ def auth():
|
||||
logger.debug("jwt token expiring soon, refreshing cookie")
|
||||
# ensure the user hasn't been deleted
|
||||
try:
|
||||
User.get_by_id(user).execute()
|
||||
User.get_by_id(user)
|
||||
except DoesNotExist:
|
||||
return fail_response
|
||||
new_expiration = current_time + JWT_SESSION_LENGTH
|
||||
|
||||
Loading…
Reference in New Issue
Block a user