Skip to content

Commit

Permalink
readd a const INACTIVE_ACCOUNT_ERROR even though it's not in use, to …
Browse files Browse the repository at this point in the history
…be addressed in Djoser 3
  • Loading branch information
tomwojcik committed May 3, 2024
1 parent c2b1ffc commit 886abbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions djoser/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

class Messages:
INVALID_CREDENTIALS_ERROR = _("Unable to log in with provided credentials.")
INACTIVE_ACCOUNT_ERROR = _(
"User account is disabled."
) # not in use since Django 1.10
INVALID_TOKEN_ERROR = _("Invalid token for given user.")
INVALID_UID_ERROR = _("Invalid user id or user doesn't exist.")
STALE_TOKEN_ERROR = _("Stale token for given user.")
Expand Down

0 comments on commit 886abbf

Please sign in to comment.