test: auth exception 2

This commit is contained in:
saparatayev 2021-11-05 16:54:37 +05:00
parent e36e06425e
commit ba47be4d63
1 changed files with 1 additions and 1 deletions

View File

@ -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);