diff --git a/auth_from_http_remote_user/controllers/main.py b/auth_from_http_remote_user/controllers/main.py index 50365b330..6787ae249 100644 --- a/auth_from_http_remote_user/controllers/main.py +++ b/auth_from_http_remote_user/controllers/main.py @@ -87,6 +87,7 @@ class Home(main.Home): exc_info=True) raise e + randrange = random.SystemRandom().randrange diff --git a/server_environment/serv_config.py b/server_environment/serv_config.py index bb52e9f6e..e2f47e4b9 100644 --- a/server_environment/serv_config.py +++ b/server_environment/serv_config.py @@ -103,6 +103,7 @@ def _load_config(): return config_p + serv_config = _load_config()