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

* change to polaris id in context views

parent 96649298
Branches
Tags
No related merge requests found
Pipeline #1278649 passed
Pipeline: FIRST_START

#1278671

    ......@@ -769,7 +769,8 @@ class CreateVisualizationToken(APIView):
    context_without_user = context.replace("user_","")
    email = shib_connector_resolver(email=context_without_user,provider=provider)
    if email != "":
    context = context.replace(context_without_user,email)
    user = CustomUser.objects.filter(email=email).first()
    context = context.replace(context_without_user,str(user.id) + "-polaris-id@polaris.com")
    key = serialization.load_ssh_private_key(private_key.encode(), password=b"")
    # use delta from settings
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment