extend db session so it's ahead of the cookie
This commit is contained in:
parent
dde1139eed
commit
395e86f179
@ -64,7 +64,7 @@ def create_session(user_id):
|
||||
return Sessions.create({
|
||||
"key": secrets.token_hex(16),
|
||||
"user_id": user_id,
|
||||
"expires_at": int(time.time()) + 30 * 24 * 60 * 60,
|
||||
"expires_at": int(time.time()) + 32 * 24 * 60 * 60,
|
||||
})
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user