Merge branch 'develop' into dist/risotto/risotto-2.8.0/develop
This commit is contained in:
commit
8c5a2bb702
|
@ -117,9 +117,9 @@ else:
|
||||||
PASSWORD_URL = config.get('PASSWORD_URL', 'https://localhost:8001/')
|
PASSWORD_URL = config.get('PASSWORD_URL', 'https://localhost:8001/')
|
||||||
|
|
||||||
if 'PASSWORD_LENGTH' in environ:
|
if 'PASSWORD_LENGTH' in environ:
|
||||||
PASSWORD_LENGTH = environ['PASSWORD_LENGTH']
|
PASSWORD_LENGTH = int(environ['PASSWORD_LENGTH'])
|
||||||
else:
|
else:
|
||||||
PASSWORD_LENGTH = config.get('PASSWORD_LENGTH', 20)
|
PASSWORD_LENGTH = int(config.get('PASSWORD_LENGTH', 20))
|
||||||
if 'PKI_ADMIN_PASSWORD' in environ:
|
if 'PKI_ADMIN_PASSWORD' in environ:
|
||||||
PKI_ADMIN_PASSWORD = environ['PKI_ADMIN_PASSWORD']
|
PKI_ADMIN_PASSWORD = environ['PKI_ADMIN_PASSWORD']
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue