diff --git a/flaschengeist/__init__.py b/flaschengeist/__init__.py index beb4b32..441e331 100644 --- a/flaschengeist/__init__.py +++ b/flaschengeist/__init__.py @@ -38,7 +38,7 @@ def create_app(): logger.debug('Found authentification plugin: %s', entry_point.name) if entry_point.name == config['FLASCHENGEIST']['AUTH']: app.config['FG_AUTH_BACKEND'] = entry_point.load()() - app.config['FG_AUTH_BACKEND'].configure(config[entry_point.name] if config.has_section(entry_point.name) else None) + app.config['FG_AUTH_BACKEND'].configure(config[entry_point.name] if config.has_section(entry_point.name) else {}) logger.info('Loaded authentification plugin > %s <', entry_point.name) break if not app.config['FG_AUTH_BACKEND']: diff --git a/flaschengeist/modules/__init__.py b/flaschengeist/modules/__init__.py index 728864c..a985443 100644 --- a/flaschengeist/modules/__init__.py +++ b/flaschengeist/modules/__init__.py @@ -1,7 +1,4 @@ class Auth(): - def defaultConfig(self): - return None - def configure(self, config): pass