/**
* @deprecated in 5.6, will be private in 5.8
*
* @param string $plaintext
* @param string $hash
* @param string $encoderName
*
* @return void
*/
public function rehash($plaintext,
$hash,
$encoderName) { $newHash =
Shopware()->
PasswordEncoder()->
reencodePassword($plaintext,
$hash,
$encoderName);
if ($newHash ===
$hash) { return;
} $this->_zendDb->
update( $this->_tableName,
[$this->_credentialColumn =>
$newHash],
$this->_zendDb->
quoteInto( $this->_zendDb->
quoteIdentifier($this->_identityColumn, true
) . ' = ?',
$this->_identity
)