mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Return auth cookie valid for whole main domain.
This commit is contained in:
parent
76be0ee42c
commit
10c6c807bf
1 changed files with 1 additions and 0 deletions
|
@ -199,6 +199,7 @@ class Authenticator(BaseAuthenticator):
|
|||
path="/",
|
||||
# Doesn't this cause issues ? May cause issue if the portal is on different subdomain than the portal API ? Will surely cause issue for development similar to CORS ?
|
||||
samesite="strict" if not is_dev else None,
|
||||
domain=f".{request.get_header('host')}",
|
||||
)
|
||||
|
||||
# Create the session file (expiration mechanism)
|
||||
|
|
Loading…
Add table
Reference in a new issue