You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
When installing mediacms (Single Server), setting "GLOBAL_LOGIN_REQUIRED = True" returns an error
AttributeError: 'WSGIRequest' object has no attribute 'user'
Internal Server Error: /favicon.ico
Traceback (most recent call last):
File "/home/mediacms.io/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/home/mediacms.io/lib/python3.10/site-packages/django/utils/deprecation.py", line 133, in __call__
response = self.process_request(request)
File "/home/mediacms.io/lib/python3.10/site-packages/login_required/middleware.py", line 55, in process_request
return self._login_required(request)
File "/home/mediacms.io/lib/python3.10/site-packages/login_required/middleware.py", line 22, in _login_required
if request.user.is_authenticated:
AttributeError: 'WSGIRequest' object has no attribute 'user'
Describe the issue
When installing mediacms (Single Server), setting "GLOBAL_LOGIN_REQUIRED = True" returns an error
To Reproduce
Steps to reproduce the issue:
mediacms/cms/local_settings.py
setGLOBAL_LOGIN_REQUIRED = True
sudo systemctl restart mediacms celery_short celery_long
Expected behavior
Webpage should load with a Login Screen when you're not logged in.
Environment (please complete the following information):
Additional context
Commit hash of directory is
The text was updated successfully, but these errors were encountered: