This commit is contained in:
Timothy Jaeryang Baek
2026-04-01 05:11:48 -05:00
parent 7bfd9ac8ac
commit 18f6ec68b9
+1 -1
View File
@@ -1683,7 +1683,7 @@ class OAuthManager:
httponly=True,
samesite=WEBUI_AUTH_COOKIE_SAME_SITE,
secure=WEBUI_AUTH_COOKIE_SECURE,
**({'max_age': cookie_max_age, 'expires': cookie_expires} if cookie_max_age is not None else {}),
**({'max_age': cookie_max_age} if cookie_max_age is not None else {}),
)
log.info(f'Stored OAuth session server-side for user {user.id}, provider {provider}')