extend db session so it's ahead of the cookie
This commit is contained in:
		@@ -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,
 | 
			
		||||
    })
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user