Skip to content

Commit

Permalink
Correct error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ajay09 authored Jun 13, 2024
1 parent e68dddb commit dbb5695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework_simplejwt/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class TokenRefreshSerializer(serializers.Serializer):
token_class = RefreshToken

default_error_messages = {
"no_active_account": _("No active account found with the given credentials")
"no_active_account": _("No active account found for the given token.")
}

def validate(self, attrs: Dict[str, Any]) -> Dict[str, str]:
Expand Down

0 comments on commit dbb5695

Please sign in to comment.