fix: ログインできないバグ修正

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2023-08-29 14:24:51 +09:00
parent dd2616c4f5
commit 5abe0800ff

View File

@ -32,7 +32,7 @@ class UserSession(DynamoDBTableModel):
def new_record_expiration_time(cls):
last_access_time = datetime.datetime.fromtimestamp(cls.new_last_access_time())
# 1時間後に有効期限切れにする
return (last_access_time + datetime.timedelta(hours=1)).timestamp().timestamp()
return (last_access_time + datetime.timedelta(hours=1)).timestamp()
@classmethod
def new(