2017-03-27 8 views

答えて

3

あなたはこのファイルに別のものにこのメッセージを変更することができます。

resources/lang/en/auth.php 

これはラインである:

'failed' => 'These credentials do not match our records.', 
+1

解決済み。ありがとうございます! –

0

一つのことは、LANGフォルダに新しいファイルmessage.phpを作るのですが、その後入力してくださいエラーメッセージが表示され、コントローラ内でアクセスし、このように使用する場合は、 をAuthonticateduser.phpに入れます。

protected function sendLoginResponse(Request $request) { 
    $request->session()->regenerate(); 
    $this->clearLoginAttempts($request); 
    return $this->authenticated($request, $this->guard()->user()) 
      ? : redirect()->intended($this->redirectPath())->with('status', Lang::get('messege.login_success')); 
} 

となり、システムメッセージではなく、デフォルトメッセージに変更を加えることなく、完璧なメッセージが得られます。

関連する問題