Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
ba442b1d
Commit
ba442b1d
authored
Jun 23, 2019
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docker/run_qfq_docker.sh
View file @
ba442b1d
...
...
@@ -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
...
...
extension/Classes/
Api
/hashPassword.php
→
extension/Classes/
External
/hashPassword.php
View file @
ba442b1d
<?php
namespace
qfq
;
use
qfq
;
// Will be used by 'docker/run_qfq_docker.sh'
require_once
(
__DIR__
.
'/../Core/typo3/Password.php'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment