summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-03-12 07:49:57 -0300
committerTomás Touceda <chiiph@leap.se>2013-03-12 07:49:57 -0300
commit908a726f0f10722ff8a875f24325ea1be6f293a1 (patch)
tree43c3c85c3c46182a51e0b2628b8f0b406e455f6b
parent7752eb5fc11d6f5973c4aa7d575cabd0dbc979b1 (diff)
Fix passwords are equal check for the register page
-rw-r--r--src/leap/gui/wizard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/gui/wizard.py b/src/leap/gui/wizard.py
index 1aa0738b..ff257601 100644
--- a/src/leap/gui/wizard.py
+++ b/src/leap/gui/wizard.py
@@ -163,7 +163,7 @@ class Wizard(QtGui.QWizard):
"""
message = None
- if message is not None and password != password2:
+ if message is None and password != password2:
message = self.tr("Passwords don't match")
if message is None and len(password) < 6: