Skip to content

Commit

Permalink
#161255353 Validation errors (#13)
Browse files Browse the repository at this point in the history
* Feature(Registration Validation Errors): Users should receive descriptive signup/Registration validation errors

- Update email validation
- Update password validation
- Added test for empty password validation

[Feature #161255353]

* Feature(Registration Validation Errors): Users should receive descriptive signup/Registration validation errors

- Update password validation not to accept repeating patterns more than twice

[Feature #161255353]

* Feature(Registration Validation Errors): Users should receive descriptive signup/Registration validation errors

- Update password validation not to accept repeating patterns more than twice

[Feature #161255353]
  • Loading branch information
AnguleMathias authored and meshnesh committed Nov 2, 2018
1 parent 764d337 commit edd8b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authors/apps/authentication/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class RegistrationSerializer(serializers.ModelSerializer):
validators=[
UniqueValidator(
queryset=User.objects.all(),
message='Sorry this Email exists, kindly register with another email',
message='Sorry this Email exists, kindly login',
)
],
error_messages={
Expand Down

0 comments on commit edd8b79

Please sign in to comment.