mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
651f385ba5
commit
c5a967e05f
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ class OAuthManager:
|
|||
"expires_in" in new_token_data
|
||||
and "expires_at" not in new_token_data
|
||||
):
|
||||
new_token_data["expires_at"] = (
|
||||
new_token_data["expires_at"] = int(
|
||||
datetime.now().timestamp()
|
||||
+ new_token_data["expires_in"]
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue