We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 479a40d commit c437ca2Copy full SHA for c437ca2
rest_auth/serializers.py
@@ -256,7 +256,8 @@ def validate_old_password(self, value):
256
)
257
258
if all(invalid_password_conditions):
259
- raise serializers.ValidationError('Invalid password')
+ err_msg = _("Your old password was entered incorrectly. Please enter it again.")
260
+ raise serializers.ValidationError(err_msg)
261
return value
262
263
def validate(self, attrs):
0 commit comments