mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Password is only asked once if we unsubscribe
This commit is contained in:
parent
840bed5222
commit
3bd427afab
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ def dyndns_unsubscribe(operation_logger, domain, password=None):
|
||||||
# Ensure sufficiently complex password
|
# Ensure sufficiently complex password
|
||||||
if Moulinette.interface.type == "cli" and not password:
|
if Moulinette.interface.type == "cli" and not password:
|
||||||
password = Moulinette.prompt(
|
password = Moulinette.prompt(
|
||||||
m18n.n("ask_password"), is_password=True, confirm=True
|
m18n.n("ask_password"), is_password=True
|
||||||
)
|
)
|
||||||
assert_password_is_strong_enough("admin", password)
|
assert_password_is_strong_enough("admin", password)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue