Fix usage with CASClient V2

This commit is contained in:
Aurélien Delobelle 2018-10-21 15:20:23 +02:00
parent 5c3c72a950
commit b61fa627fd
2 changed files with 14 additions and 2 deletions

View file

@ -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)