kevin_zhangl 2 년 전
부모
커밋
21376cf677
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      frontendApi/modules/v1/controllers/OauthController.php

+ 1 - 1
frontendApi/modules/v1/controllers/OauthController.php

@@ -127,7 +127,7 @@ class OauthController extends BaseController
                 return static::notice(LoginForm::ERROR_IS_MODIFY_PASSWORD, 403);
             }
 
-            return static::notice(Form::formatErrorsForApi($model->getErrors()), 401);
+            return static::notice(Form::formatErrorsForApi($model->getErrors()), 400);
         }
 
     }