Loading portal/model/Key.py +1 −1 Changes for portal/model/Key.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -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 Loading Loading
portal/model/Key.py +1 −1 Changes for portal/model/Key.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -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 Loading