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