From 8314f2c1f9e56eef2d6a9a9be5116565a19d8e6b Mon Sep 17 00:00:00 2001 From: Francesco Filicetti Date: Wed, 16 Oct 2024 09:43:15 +0200 Subject: [PATCH] fix: accounts settings --- uniticket/accounts/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uniticket/accounts/settings.py b/uniticket/accounts/settings.py index 62930f64..1c0b1522 100644 --- a/uniticket/accounts/settings.py +++ b/uniticket/accounts/settings.py @@ -7,5 +7,6 @@ CHANGE_EMAIL_TOKEN_LIFE = getattr(settings, 'CHANGE_EMAIL_TOKEN_LIFE', 30) -SAFE_URL_PATHS = getattr(settings, 'SAFE_URL_PATHS', []) +SAFE_URL_PATHS = getattr(settings, 'SAFE_URL_PATHS', [reverse('accounts:change_data'), + reverse('accounts:confirm_email')]) SAFE_URL_APPS = getattr(settings, 'SAFE_URL_APPS', ['admin', 'api_rest'])