|
@@ -51,7 +51,7 @@ |
|
|
block discarded – undo |
|
51
|
51
|
* @throws \SimpleCMS\Framework\Exceptions\SimpleException |
|
52
|
52
|
* @return array|RedirectResponse |
|
53
|
53
|
*/ |
|
54
|
|
- public function guardLogin(string $guard, string $account, string $password, array $messages = []): bool|RedirectResponse |
|
|
54
|
+ public function guardLogin(string $guard, string $account, string $password, array $messages = []): bool | RedirectResponse |
|
55
|
55
|
{ |
|
56
|
56
|
$errorMessages = array_merge([ |
|
57
|
57
|
'not_found' => 'The account or password is incorrect.', |
Please login to merge, or discard this patch.