4
私はlaravel5.3のパスポートPassword Grant Tokensカスタムlaravelパスポートエラーメッセージへの方法?
this.$http.post('/oauth/token', this.form)
.then(response => {
console.log(response)
})
を使用する場合、私は私がどのようにカスタムこのエラーメッセージをするために知ってほしい
{"error":"invalid_credentials","message":"The user credentials were incorrect."}
このメッセージが表示されます。
これは 'vendor \ league \ oauth2-server \ src \ Exception \ OAuthServerException.php'行で送信されるメッセージです:120 – TonyCat