diff --git a/djoser/constants.py b/djoser/constants.py index 6df3a5d9..57be35d4 100644 --- a/djoser/constants.py +++ b/djoser/constants.py @@ -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.")