Corrected timestamping
This commit is contained in:
parent
c633a474b5
commit
6bbdb8fced
@ -22,7 +22,7 @@ def _cookie_consent():
|
||||
value='true',
|
||||
max_age = timedelta(days=14) if request.cookies.get('remember') == 'True' else None,
|
||||
path = '/',
|
||||
expires = datetime.utcnow() + timedelta(days=14) if request.cookies.get('remember') else None,
|
||||
expires = datetime.now() + timedelta(days=14) if request.cookies.get('remember') else None,
|
||||
domain = f'{app.config.get("SERVER_NAME")}',
|
||||
secure = True
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user