From 19a678dcc258e1619a1a4e806ce66146cb4f7dc7 Mon Sep 17 00:00:00 2001 From: Hossein Shafagh Date: Sat, 19 Sep 2020 08:58:52 -0700 Subject: [PATCH] removing typo --- docker/src/lemur.conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/src/lemur.conf.py b/docker/src/lemur.conf.py index 2a4ef514..4cb3ae0c 100644 --- a/docker/src/lemur.conf.py +++ b/docker/src/lemur.conf.py @@ -14,7 +14,7 @@ def get_random_secret(length): secret_key = ''.join(random.choice(string.ascii_uppercase) for x in range(round(length / 4))) secret_key = secret_key + ''.join(random.choice("~!@#$%^&*()_+") for x in range(round(length / 4))) secret_key = secret_key + ''.join(random.choice(string.ascii_lowercase) for x in range(round(length / 4))) - return secret_key + ''.join(random.choice(string.digits) for x in range(round(length / 4))) soi + return secret_key + ''.join(random.choice(string.digits) for x in range(round(length / 4))) SECRET_KEY = repr(os.environ.get('SECRET_KEY', get_random_secret(32).encode('utf8')))