mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 01:44:13 +00:00
Update settings.py
This commit is contained in:
@@ -19,7 +19,7 @@ class TermsAndConditionsRedirectMiddleware(MiddlewareMixin):
|
||||
This middleware checks to see if the user is logged in, and if so,
|
||||
if they have accepted the site terms.
|
||||
"""
|
||||
|
||||
async_mode = False
|
||||
def process_request(self, request):
|
||||
"""Process each request to app to ensure terms have been accepted"""
|
||||
if not config.ENABLE_TERMS_AND_CONDITIONS:
|
||||
|
Reference in New Issue
Block a user