test: auth exception 2
This commit is contained in:
parent
e36e06425e
commit
ba47be4d63
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue