Commit bec51755 authored by Valentin Samir's avatar Valentin Samir

fix too many values to unpack in federate.py

parent a00e5d40
......@@ -24,7 +24,7 @@ class CASFederateValidateUser(object):
self.provider = provider
if provider in settings.CAS_FEDERATE_PROVIDERS:
(server_url, version) = settings.CAS_FEDERATE_PROVIDERS[provider]
(server_url, version) = settings.CAS_FEDERATE_PROVIDERS[provider][:2]
self.client = CASClient(
service_url=service_url,
version=version,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment