increase password size

This commit is contained in:
VirtuBox
2019-03-25 12:22:25 +01:00
parent 419c6caa03
commit 79994a1262
4 changed files with 37 additions and 34 deletions

View File

@@ -50,7 +50,7 @@ class WOSecureController(CementBaseController):
"""This function secures authentication"""
passwd = ''.join([random.choice
(string.ascii_letters + string.digits)
for n in range(6)])
for n in range(16)])
if not self.app.pargs.user_input:
username = input("Provide HTTP authentication user "
"name [{0}] :".format(WOVariables.wo_user))