From 64fdd58ba9add1304416f012378c5795fdd7faec Mon Sep 17 00:00:00 2001 From: Michalek Date: Thu, 13 Jan 2022 23:30:36 +0100 Subject: [PATCH] Revert #419 (email and password escaping) --- alpine/5/rootfs/docker-entrypoint-init.d/10-init-in.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/alpine/5/rootfs/docker-entrypoint-init.d/10-init-in.sh b/alpine/5/rootfs/docker-entrypoint-init.d/10-init-in.sh index dee11cb..dae8552 100755 --- a/alpine/5/rootfs/docker-entrypoint-init.d/10-init-in.sh +++ b/alpine/5/rootfs/docker-entrypoint-init.d/10-init-in.sh @@ -3,13 +3,12 @@ php artisan db:seed --force # Build up array of arguments... -# We escape the env variables in order to allow special characters if [[ ! -z "${IN_USER_EMAIL}" ]]; then - email="--email \"${IN_USER_EMAIL}\"" + email="--email ${IN_USER_EMAIL}" fi if [[ ! -z "${IN_PASSWORD}" ]]; then - password="--password \"${IN_PASSWORD}\"" + password="--password ${IN_PASSWORD}" fi php artisan ninja:create-account $email $password