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

T3 wird nur geladen wenn es nicht schon existiert.

Bug: die Hashes aendern sich jedesmal - einloggen mit dem neuen PW ist nicht moeglich
parent 4cbc158a
Pipeline #1489 passed with stage
in 2 minutes and 42 seconds
......@@ -33,8 +33,10 @@ class Password {
//$dataHandler->start([], $cmd);
//TODO: Read root path from config
require __DIR__ . '/../../../../../../typo3_src/vendor/autoload.php';
if (!isset($GLOBALS['TSFE'])) {
//TODO: Get absolute 'path' via QFQ config
require __DIR__ . '/../../../../../../typo3_src/vendor/autoload.php';
if (\TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility::isUsageEnabled('FE')) {
$objSalt = \TYPO3\CMS\Saltedpasswords\Salt\SaltFactory::getSaltingInstance(NULL);
Supports Markdown
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