mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 22:01:06 +00:00
[shib] Fix shib complete url bug
This commit is contained in:
@@ -67,7 +67,7 @@ class ShibbolethRemoteUserMiddleware(RemoteUserMiddleware):
|
||||
user = auth.authenticate(remote_user=username, shib_meta=shib_meta)
|
||||
if user:
|
||||
if not user.is_active:
|
||||
return HttpResponseRedirect('shib-complete')
|
||||
return HttpResponseRedirect(reverse('shib_complete'))
|
||||
|
||||
# User is valid. Set request.user and persist user in the session
|
||||
# by logging the user in.
|
||||
|
Reference in New Issue
Block a user