diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-03-01 23:04:32 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-03-01 23:04:32 +0100 |
commit | 300f3731151c1c52303606a5ae55622e7536129b (patch) | |
tree | ab88b9f494e76afcf8c4f2aae9d4b6068dd47e88 /src | |
parent | begin integration of the new architecture (diff) | |
download | newspipe-300f3731151c1c52303606a5ae55622e7536129b.tar.gz newspipe-300f3731151c1c52303606a5ae55622e7536129b.tar.bz2 newspipe-300f3731151c1c52303606a5ae55622e7536129b.zip |
fix
Diffstat (limited to 'src')
-rw-r--r-- | src/web/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/forms.py b/src/web/forms.py index b23bf77f..bf321ae3 100644 --- a/src/web/forms.py +++ b/src/web/forms.py @@ -107,11 +107,11 @@ class SigninForm(RedirectForm): try: user = ucontr.get(email=self.email.data) except NotFound: - self.login.errors.append('Wrong login') + self.email.errors.append('Wrong login') validated = False else: if not user.is_active: - self.login.errors.append('User is desactivated') + self.email.errors.append('User is desactivated') validated = False if not ucontr.check_password(user, self.password.data): self.password.errors.append('Wrong password') |