Fix usage with CASClient V2
This commit is contained in:
parent
5c3c72a950
commit
b61fa627fd
2 changed files with 14 additions and 2 deletions
|
@ -217,7 +217,7 @@ class CASCallbackView(CASView):
|
|||
# Keep tracks of the last used CAS provider.
|
||||
request.session[CAS_PROVIDER_SESSION_KEY] = self.provider.id
|
||||
|
||||
data = (uid, extra)
|
||||
data = (uid, extra or {})
|
||||
|
||||
# Finish the login flow.
|
||||
login = self.adapter.complete_login(request, data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue