diff --git a/miqa/settings.py b/miqa/settings.py index 98e30643..8fa24ad4 100644 --- a/miqa/settings.py +++ b/miqa/settings.py @@ -98,6 +98,10 @@ def before_binding(configuration: ComposedConfiguration) -> None: 'EXCEPTION_HANDLER' ] = 'miqa.core.rest.exceptions.custom_exception_handler' + configuration.MIDDLEWARE += [ + 'allauth.account.middleware.AccountMiddleware', + ] + class DevelopmentConfiguration(MiqaMixin, DevelopmentBaseConfiguration): HOMEPAGE_REDIRECT_URL = values.Value(environ=True, default='http://localhost:8081')