mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Ask for password again if it fails
This commit is contained in:
parent
576e2eb7ef
commit
15d38f37a1
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ class YunoHostLDAP(Singleton):
|
||||||
except KeyboardInterrupt, EOFError:
|
except KeyboardInterrupt, EOFError:
|
||||||
raise YunoHostError(125, _("Interrupted"))
|
raise YunoHostError(125, _("Interrupted"))
|
||||||
except ldap.INVALID_CREDENTIALS:
|
except ldap.INVALID_CREDENTIALS:
|
||||||
pass
|
print(_('Invalid password... Try again'))
|
||||||
else:
|
else:
|
||||||
need_password = False
|
need_password = False
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue