From ba47be4d637043967fcd20ade645bf597873fbf6 Mon Sep 17 00:00:00 2001 From: saparatayev Date: Fri, 5 Nov 2021 16:54:37 +0500 Subject: [PATCH] test: auth exception 2 --- plugins/rainlab/user/components/Account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/rainlab/user/components/Account.php b/plugins/rainlab/user/components/Account.php index 8be74060f..22d4e735b 100644 --- a/plugins/rainlab/user/components/Account.php +++ b/plugins/rainlab/user/components/Account.php @@ -268,7 +268,7 @@ class Account extends ComponentBase if ($ex instanceof AuthException) { throw new AuthException(Lang::get(/*A user was not found with the given credentials.*/'rainlab.user::lang.account.invalid_user')); } else { - throw $ex; + dd('ok'); } // if (Request::ajax()) throw $ex; if (Request::ajax()) info($ex);