Skip to content

Commit

Permalink
Changed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamín Mravec committed Nov 12, 2023
1 parent 2411e94 commit 14bbb44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def validate_email(self, email):
email = get_adapter().clean_email(email)
if email and EmailAddress.objects.filter(email__iexact=email).exists():
raise serializers.ValidationError(
"Používateľ s danou emailovou adresou už existuje.")
"Zadaná emailová adresa už je používaná! Skús použiť inú.")
return email

def validate_password1(self, password):
Expand Down

0 comments on commit 14bbb44

Please sign in to comment.