'id = ?' =>
$getUser['id'
],
] );
$this->eventManager->
notify( 'Shopware_Modules_Admin_Login_Successful',
['subject' =>
$this, 'email' =>
$email, 'password' =>
$password, 'user' =>
$getUser] );
$newHash = '';
$liveMigration =
$this->config->
offsetGet('liveMigration'
);
$defaultEncoderName =
$this->passwordEncoder->
getDefaultPasswordEncoderName();
// Do not allow live migration when the password is pre-hashed
if ($liveMigration && !
$isPreHashed &&
$encoderName !==
$defaultEncoderName) { $newHash =
$this->passwordEncoder->
encodePassword($plaintext,
$defaultEncoderName);
$encoderName =
$defaultEncoderName;
} if (empty($newHash)) { $newHash =
$this->passwordEncoder->
reencodePassword($plaintext,
$hash,
$encoderName);
}