From 53f6dd231ca734254074d06ef489383c33d6c2cf Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 23 Apr 2024 15:29:11 +0300 Subject: Make UPLOADS_DIR mandatory rather than CLIENTS_SSL_PUBLIC_KEYS_DIR --- gn_auth/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn_auth/__init__.py') 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( -- cgit v1.2.3