|
@@ -193,8 +193,9 @@ class LoginForm extends Model
|
|
|
|
|
|
|
|
try{
|
|
try{
|
|
|
(new IpFilter())->frontApiCheck();
|
|
(new IpFilter())->frontApiCheck();
|
|
|
- } catch(\Exception $e){
|
|
|
|
|
- return $result;
|
|
|
|
|
|
|
+ } catch(\Exception $exception){
|
|
|
|
|
+ $this->clearErrors();
|
|
|
|
|
+ $this->setError($exception->getMessage());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return $result;
|
|
return $result;
|