Skip to content
Snippets Groups Projects
Verified Commit feadefe6 authored by Jakob Moser's avatar Jakob Moser
Browse files

Change Key duration to something that works

parent 66d487fc
No related branches found
No related tags found
1 merge request!5Add basic User auth endpoints (non functional)
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment