mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
fix bug when user login via shib (#4416)
This commit is contained in:
@@ -62,5 +62,7 @@ class ShibbolethRemoteUserBackend(RemoteUserBackend):
|
|||||||
notify_admins_on_register_complete(user.email)
|
notify_admins_on_register_complete(user.email)
|
||||||
else:
|
else:
|
||||||
user = None
|
user = None
|
||||||
|
else:
|
||||||
|
user = User.objects.get(email=username)
|
||||||
|
|
||||||
return user
|
return user
|
||||||
|
Reference in New Issue
Block a user