diff options
Diffstat (limited to 'gn_auth/__init__.py')
-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 6e2a884..b695ebf 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") + "OAUTH2_SCOPES_SUPPORTED") if not ((setting in app.config) and bool(app.config[setting]))) if len(undefined) > 0: raise ConfigurationError( |