Skip to content
Snippets Groups Projects
Commit f8129721 authored by Feanil Patel's avatar Feanil Patel
Browse files

Fix failure during cms startup.

parent a4f03620
No related branches found
No related tags found
No related merge requests found
......@@ -189,7 +189,7 @@ def generate_password(length=12, chars=string.ascii_letters + string.digits):
password = ''
password += choice(string.digits)
password += choice(string.letters)
password += choice(string.ascii_letters)
password += ''.join([choice(chars) for _i in range(length - 2)])
return password
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment