Commit 0bbe0c6d authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Use hashing method directly

parent 1e00e463
Pipeline #5234 passed with stages
in 14 minutes and 27 seconds
......@@ -214,7 +214,7 @@ class FeManagerHooks
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
$userRepository = $objectManager->get(\In2code\Femanager\Domain\Repository\UserRepository::class);
$plainTextPassword = $user->getPassword();
\In2code\Femanager\Utility\UserUtility::convertPassword($user, '');
\In2code\Femanager\Utility\UserUtility::hashPassword($user, '');
$userRepository->add($user);
$this->persistenceManager->persistAll();
......
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