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

Update file views.py

parent 3f0d11b6
No related branches found
No related tags found
No related merge requests found
Pipeline #1360186 passed
Pipeline: FIRST_START

#1360197

    ......@@ -770,7 +770,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