Commit 10e0b8a9 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Password hashing does not work without T3 environment.

parent 5c08cea2
Pipeline #1477 passed with stage
in 2 minutes and 31 seconds
......@@ -29,6 +29,11 @@ class Password {
// Use md5 as fallback
$password = md5($newPassword);
// $dataHandler = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\DataHandling\DataHandler::class);
//$dataHandler->start([], $cmd);
//$dataHandler->process_cmdmap();
if (\TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility::isUsageEnabled('FE')) {
$objSalt = \TYPO3\CMS\Saltedpasswords\Salt\SaltFactory::getSaltingInstance(NULL);
if (is_object($objSalt)) {
......
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