mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Add httponly to API cookies
This commit is contained in:
parent
3cc511db3a
commit
8562c05d3b
1 changed files with 2 additions and 0 deletions
|
@ -243,6 +243,8 @@ class Session:
|
|||
infos,
|
||||
secure=True,
|
||||
secret=Session.secret,
|
||||
httponly=True,
|
||||
# samesite="strict", # Bottle 0.12 doesn't support samesite, to be added in next versions
|
||||
)
|
||||
|
||||
def get_infos():
|
||||
|
|
Loading…
Reference in a new issue