Add httponly to session cookie.
This commit is contained in:
parent
2ba4a3bb91
commit
cb881ed640
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ class SessionManager:
|
|||
'etiquette_session',
|
||||
value=session.token,
|
||||
max_age=SESSION_MAX_AGE,
|
||||
httponly=True,
|
||||
)
|
||||
|
||||
return response
|
||||
|
|
Loading…
Reference in a new issue