jerry 1 년 전
부모
커밋
8bf71a9651
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      frontendApi/modules/v1/models/LoginForm.php

+ 3 - 2
frontendApi/modules/v1/models/LoginForm.php

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