updated to use key params for admin parts
This commit is contained in:
parent
0417aba093
commit
b0a8e6a751
@ -240,7 +240,7 @@ def prompt_password(pw_prompt):
|
|||||||
break
|
break
|
||||||
if re.match(r"^(\s+)$", rc):
|
if re.match(r"^(\s+)$", rc):
|
||||||
LOG.warning("Whitespace not allowed as a password!")
|
LOG.warning("Whitespace not allowed as a password!")
|
||||||
elif re.match(r"^(\s+)(\S+)(\s+)$"):
|
elif re.match(r"^(\s+)(\S+)(\s+)$", rc):
|
||||||
LOG.warning("Whitespace can not start or end a password!")
|
LOG.warning("Whitespace can not start or end a password!")
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user