aboutsummaryrefslogtreecommitdiff
path: root/src/web/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/forms.py')
-rw-r--r--src/web/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/forms.py b/src/web/forms.py
index fc5f4f4a..9aca234d 100644
--- a/src/web/forms.py
+++ b/src/web/forms.py
@@ -61,8 +61,8 @@ class SignupForm(Form):
if ucontr.read(nickname=self.nickname.data).count():
self.nickname.errors.append('Nickname already taken')
validated = False
- if self.password.data != self.password_conf.data:
- self.password_conf.errors.append("Passwords don't match")
+ if ucontr.read(email=self.email.data).count():
+ self.email.errors.append('Email already taken')
validated = False
return validated
bgstack15