Skip to content
Snippets Groups Projects
Commit d87ac9a2 authored by Benjamin Ledel's avatar Benjamin Ledel
Browse files

Update file views.py

parent 21232f8d
Branches
No related tags found
No related merge requests found
Pipeline #1313880 passed
Pipeline: FIRST_START

#1313902

    ...@@ -86,8 +86,8 @@ def shib_connector_resolver_to_pairwaise_id(email, provider): ...@@ -86,8 +86,8 @@ def shib_connector_resolver_to_pairwaise_id(email, provider):
    if settings.SHIB_ID_CONNECTOR_CACHE: if settings.SHIB_ID_CONNECTOR_CACHE:
    r.set(email,shib_id) r.set(email,shib_id)
    r.expire(email,settings.SHIB_ID_CONNECTOR_CACHE_MAX_AGE*60) r.expire(email,settings.SHIB_ID_CONNECTOR_CACHE_MAX_AGE*60)
    if shib_id is not None:
    return shib_id return shib_id
    return "" return ""
    def shib_connector_resolver(email, provider): def shib_connector_resolver(email, provider):
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment