Commit ba442b1d authored by Carsten  Rose's avatar Carsten Rose
Browse files

Cleanup: hashPassword.php moved from Api to External.

parent e200b498
Pipeline #2052 passed with stages
in 2 minutes and 30 seconds
......@@ -151,7 +151,7 @@ fi
### Set Typo3 Admin Pass ###
if [[ "${T3_ADMINO_PASSWORD}" ]]; then
T3_ADMINO_PASSWORD_HASH=$(curl http://127.0.0.1:${T3_PORT}/typo3conf/ext/qfq/Classes/Api/hashPassword.php?pw=${T3_ADMINO_PASSWORD})
T3_ADMINO_PASSWORD_HASH=$(curl http://127.0.0.1:${T3_PORT}/typo3conf/ext/qfq/Classes/External/hashPassword.php?pw=${T3_ADMINO_PASSWORD})
mysql -u root --password=${MYSQL_ROOT_PASSWORD} --port=${DB_PORT} -h 127.0.0.1 -D ${T3_DATABASE} \
-e "UPDATE be_users SET password='${T3_ADMINO_PASSWORD_HASH}' WHERE username='admino';"
fi
......
<?php
namespace qfq;
use qfq;
// Will be used by 'docker/run_qfq_docker.sh'
require_once(__DIR__ . '/../Core/typo3/Password.php');
......
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