$password =
$this->front->
Request()->
getPost('password'
);
$isPreHashed = false;
} if (empty($password)) { $sErrorFlag['password'
] = true;
} if (!
empty($sErrorFlag)) { $sErrorMessages[] =
$this->snippetManager->
getNamespace('frontend/account/internalMessages'
) ->
get('LoginFailure', 'Wrong email or password'
);
$this->session->
offsetUnset('sUserMail'
);
$this->session->
offsetUnset('sUserPasswordChangeDate'
);
$this->session->
offsetUnset('sUserId'
);
} if ($sErrorMessages) { [$sErrorMessages,
$sErrorFlag] =
$this->eventManager->
filter( 'Shopware_Modules_Admin_Login_FilterResult',
[$sErrorMessages,
$sErrorFlag],
['subject' =>
$this, 'email' => null, 'password' => null, 'error' =>
$sErrorMessages] );