feat: add LOGOUT_REDIRECT_URL setting

Implemented LOGOUT_REDIRECT_URL to ensure users are redirected to the homepage after logging out, improving user experience by providing a clear redirect path. This enhancement aligns with the existing LOGIN_REDIRECT_URL settings for a consistent flow
This commit is contained in:
Kumi 2024-06-23 11:12:29 +02:00
parent 05a2de7237
commit 03bfcd96bd
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -110,6 +110,7 @@ else:
AUTH_USER_MODEL = "accounts.CustomUser"
LOGIN_REDIRECT_URL = "/"
LOGOUT_REDIRECT_URL = "/"
AUTH_PASSWORD_VALIDATORS = [
{