Skip to content

Commit 274540e

Browse files
committed
feat: reduce altcha session timeout to 15 minutes
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent d802717 commit 274540e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎vulnerabilities/middleware/altcha_protection.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class AltchaProtectionMiddleware(MiddlewareMixin):
2222
"/fixing-advisories/v2/",
2323
)
2424

25-
SESSION_TIMEOUT = 3600 # 1 hour
25+
SESSION_TIMEOUT = 900 # 15 minutes
2626

2727
def __call__(self, request):
2828
protected = any(request.path.startswith(prefix) for prefix in self.PROTECTED_PREFIXES)

0 commit comments

Comments
 (0)