Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit aadc8e6c authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

fix missing changes in c59e967e

parent 99ec2c8f
Pipeline #166736 failed with stages
in 1 second
......@@ -50,7 +50,7 @@ install_secrets()
echo "Install controller token into $dst"
# copy the file with a docker command because it is owned by root
docker run --rm -i -v "$PWD/$dst:/config.yml" busybox sh -c "cat >>/config.yml" <<EOF
registry_auth: {"username": "\$token", "password": "`cat "$src"`"}
registry_auth: {"username": "token", "password": "`cat "$src"`"}
EOF
docker-compose restart dev-controller
fi
......
......@@ -153,7 +153,7 @@ def jwt_auth(request):
The client may provide either:
- the email+password of an allgo user
- a runner token, in which case the username is the arbitrary value"$token"
- a runner token, in which case the username is the arbitrary value "token"
and the password is the token value
:param request:
......
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