1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-15 23:00:57 +00:00

django 4.2

This commit is contained in:
lian
2023-06-12 09:53:31 +08:00
parent b7e764cc0b
commit f365f2b342
212 changed files with 1152 additions and 1143 deletions

View File

@@ -40,9 +40,6 @@ class ShibbolethRemoteUserMiddleware(RemoteUserMiddleware):
Authentication Middleware for use with Shibboleth. Uses the recommended pattern
for remote authentication from: http://code.djangoproject.com/svn/django/tags/releases/1.3/django/contrib/auth/middleware.py
"""
def __init__(self, *a, **kw):
super(ShibbolethRemoteUserMiddleware, self).__init__(*a, **kw)
def process_request(self, request):
if request.path.rstrip('/') != settings.SITE_ROOT + 'sso':
return