From 60e57a69c2dab7eb5d22297c2e0c3bf5ddb65d0e Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 14 Nov 2024 19:36:51 +0200 Subject: [PATCH] fix redirect --- files/routes/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/login.py b/files/routes/login.py index 61f3da16f..f36ba1eae 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -17,7 +17,7 @@ from files.routes.routehelpers import check_for_alts from files.routes.wrappers import * -NO_LOGIN_REDIRECT_URLS = ("/login", "/logout", "/signup", "/forgot", "/reset", "/reset_2fa", "/lost_2fa") +NO_LOGIN_REDIRECT_URLS = ("/login", "/logout", "/signup", "/forgot", "/reset", "/reset_2fa", "/lost_2fa", "/settings/delete_account") @app.get("/login") @limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400)