From e989c617934e18bb047e7a91ef86e742632aca2e Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 10 May 2020 20:15:56 +0200 Subject: [PATCH] core: reduce default nonce time to 30 minutes --- passbook/core/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passbook/core/models.py b/passbook/core/models.py index 7cb523113..a415fcc75 100644 --- a/passbook/core/models.py +++ b/passbook/core/models.py @@ -32,7 +32,7 @@ NATIVE_ENVIRONMENT = NativeEnvironment() def default_nonce_duration(): """Default duration a Nonce is valid""" - return now() + timedelta(hours=4) + return now() + timedelta(minutes=30) class Group(ExportModelOperationsMixin("group"), UUIDModel):