diff --git a/api/app/settings/common.py b/api/app/settings/common.py index 2f1e468eb4d3..afe5b92aca9f 100644 --- a/api/app/settings/common.py +++ b/api/app/settings/common.py @@ -797,6 +797,9 @@ "USER_LOGIN_PERMISSIONS", default=["custom_auth.permissions.IsPasswordLoginAllowed"] ) +AUTHENTICATION_BACKENDS = [ + "djoser.auth_backends.LoginFieldBackend", +] DJOSER = { "PASSWORD_RESET_CONFIRM_URL": "password-reset/confirm/{uid}/{token}", # if True user required to click activation link in email to activate account