protected function sendLockoutResponse(Request $request)
{
$seconds = $this->limiter()->availableIn(
$this->throttleKey($request)
);
Flashy::message('Welcome Aboard!', 'http://your-awesome-link.com');
$message = Lang::get('auth.throttle', ['seconds' => $seconds]);
return redirect()->back()
->withInput($request->only($this->username(), 'remember'))
->withErrors([$this->username() => $message]);
}
Route::get('/', function () {
return view('welcome');
});
Auth::routes();
Route::get('/home', 'HomeController@index');
//Route::get('/captcha/{random}','CaptchaController@captcha');
//Route::get('/logout','LoginController@logout');
Route::get('/captcha/{config?}',function(Mews\Captcha\Captcha $captcha,$config='default'){
return $captcha->create($config);
});
<script src="/js/app.js"></script>
@include('flashy::message')