Verified Commit feadefe6 authored by Jakob Moser's avatar Jakob Moser
Browse files

Change Key duration to something that works

parent 66d487fc
Loading
Loading
Loading
Loading
+1 −1
Changes for portal/model/Key.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ from portal.model.User import User
from portal.model.UtcDateTime import UtcDateTime
from portal.model.Uuid import Uuid

KEY_DURATION = timedelta(years=10)
KEY_DURATION = timedelta(weeks=52*10)

# Type alias (a secret is nothing but a string, but we want to make type hints a bit clearer
Secret = str