Commit b72604d2 by Carlos Andrés Rocha

Merge pull request #1615 from rocha/fix-external_auth-djangostore

Fix error on external_auth djangostore
parents 58dccec5 28bc2e23
......@@ -87,7 +87,7 @@ class DjangoOpenIDStore(OpenIDStore):
cache.delete(key)
removed = True
else:
assoc = associations.pop(handle)
assoc = associations.pop(handle, None)
if assoc:
cache.set(key, associations, DEFAULT_ASSOCIATIONS_TIMEOUT)
removed = True
......
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