Skip to content

Commit

Permalink
restore pre-2.3.0 behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Dec 17, 2024
1 parent b377e82 commit e01adb1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/app/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e01adb1

Please sign in to comment.