summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: