Skip to content

Commit

Permalink
Merge pull request #254 from ZdruzenieSTROM/auth_message
Browse files Browse the repository at this point in the history
Change auth failed message
  • Loading branch information
kovacspe authored Nov 11, 2023
2 parents 4a51089 + dfc8982 commit 6704cf3
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 @@ -54,7 +54,7 @@ def validate(self, attrs):
user = self.get_auth_user(email, password)

if not user:
msg = 'Nie je možné prihlásiť sa zadanými prihlasovacími údajmi.'
msg = 'Nesprávny email alebo heslo.'
raise exceptions.ValidationError(msg)

# Did we get back an active user?
Expand Down

0 comments on commit 6704cf3

Please sign in to comment.