diff --git a/backoffice/config/settings/base.py b/backoffice/config/settings/base.py index 84bf4fc0..cc64ca6f 100644 --- a/backoffice/config/settings/base.py +++ b/backoffice/config/settings/base.py @@ -127,7 +127,7 @@ # https://docs.djangoproject.com/en/dev/ref/settings/#auth-user-model AUTH_USER_MODEL = "users.User" # https://docs.djangoproject.com/en/dev/ref/settings/#login-redirect-url -LOGIN_REDIRECT_URL = env("FRONTEND_LOGIN_SUCCESS") +LOGIN_REDIRECT_URL = env("FRONTEND_LOGIN_SUCCESS", default="users:redirect") # https://docs.djangoproject.com/en/dev/ref/settings/#login-url LOGIN_URL = "account_login"