feat: update domains

This commit is contained in:
2026-05-12 22:11:00 +03:00
parent 603efa55e6
commit 9166b21249
2 changed files with 19 additions and 7 deletions

View File

@@ -30,7 +30,7 @@ async def issue_csrf_token(request: Request):
httponly=settings.CSRF_COOKIE_HTTPONLY,
samesite=settings.CSRF_COOKIE_SAMESITE,
path=settings.CSRF_COOKIE_PATH,
domain=settings.CSRF_COOKIE_DOMAIN,
domain=settings.CSRF_COOKIE_DOMAIN or '.elcsa.ru',
max_age=csrf.ttl_seconds,
)