mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Fix grammar in login error message
This commit is contained in:
parent
1d4e0131c3
commit
37d01f6088
|
@ -22,7 +22,7 @@ class AuthTokenSerializer(serializers.Serializer):
|
|||
attrs['user'] = user
|
||||
return attrs
|
||||
else:
|
||||
msg = _('Unable to login with provided credentials.')
|
||||
msg = _('Unable to log in with provided credentials.')
|
||||
raise serializers.ValidationError(msg)
|
||||
else:
|
||||
msg = _('Must include "username" and "password"')
|
||||
|
|
Loading…
Reference in New Issue
Block a user