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:
parent
05a2de7237
commit
03bfcd96bd
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ else:
|
||||||
AUTH_USER_MODEL = "accounts.CustomUser"
|
AUTH_USER_MODEL = "accounts.CustomUser"
|
||||||
|
|
||||||
LOGIN_REDIRECT_URL = "/"
|
LOGIN_REDIRECT_URL = "/"
|
||||||
|
LOGOUT_REDIRECT_URL = "/"
|
||||||
|
|
||||||
AUTH_PASSWORD_VALIDATORS = [
|
AUTH_PASSWORD_VALIDATORS = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue