diff options
author | Frederick Muriuki Muriithi | 2024-04-23 15:29:11 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-04-23 15:29:11 +0300 |
commit | 53f6dd231ca734254074d06ef489383c33d6c2cf (patch) | |
tree | 0412a29ac2114285c5b950ffa23320ce8dd5e0ff /gn_auth | |
parent | 326b88195d8ddaf968442034aa84005b05fdf4b0 (diff) | |
download | gn-auth-53f6dd231ca734254074d06ef489383c33d6c2cf.tar.gz |
Make UPLOADS_DIR mandatory rather than CLIENTS_SSL_PUBLIC_KEYS_DIR
Diffstat (limited to 'gn_auth')
-rw-r--r-- | gn_auth/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/__init__.py b/gn_auth/__init__.py index 224b681..47e721b 100644 --- a/gn_auth/__init__.py +++ b/gn_auth/__init__.py @@ -25,7 +25,7 @@ def check_mandatory_settings(app: Flask) -> None: undefined = tuple( setting for setting in ( "SECRET_KEY", "SQL_URI", "AUTH_DB", "AUTH_MIGRATIONS", - "OAUTH2_SCOPE", "SSL_PRIVATE_KEY", "CLIENTS_SSL_PUBLIC_KEYS_DIR") + "OAUTH2_SCOPE", "SSL_PRIVATE_KEY", "UPLOADS_DIR") if not ((setting in app.config) and bool(app.config[setting]))) if len(undefined) > 0: raise ConfigurationError( |