diff --git a/plugins/rainlab/user/components/Account.php b/plugins/rainlab/user/components/Account.php index 741af7ec2..332746be9 100644 --- a/plugins/rainlab/user/components/Account.php +++ b/plugins/rainlab/user/components/Account.php @@ -266,10 +266,9 @@ class Account extends ComponentBase } catch (Exception $ex) { if ($ex instanceof AuthException) { - dd('ok'); - throw new AuthException(Lang::get(/*A user was not found with the given credentials.*/'rainlab.user::lang.account.invalid_user')); - } else { - } + throw new AuthException('Txtttstts'); + } + // if (Request::ajax()) throw $ex; if (Request::ajax()) info($ex); else Flash::error($ex->getMessage());