Compare commits

..

2 Commits

Author SHA1 Message Date
David Bomba
27b6c82fe4 Merge pull request #428 from VeselaHouba/master
Revert #419 (email and password escaping)
2022-01-14 09:35:30 +11:00
Michalek
64fdd58ba9 Revert #419 (email and password escaping) 2022-01-13 23:31:21 +01:00

View File

@@ -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