Open sidebar
//SessionsController@store - Login form POSTs to this. public function store() { //take the email and password supplied by the user $input = Input::only('head_email', 'password'); // dd($input); //for testing, gives correct result //attempt to authenticate if( Auth::attempt($input) ) { //if Authenticated, redirect to here return redirect('delegates.pay'); } // No authentication - ie, redirect back with an error message return Redirect::back()->withInput()->withFlashMessage('Invalid Login Details'); } // MORE STUFF // dd( Auth::attempt($input) ) returns false. // On redirect back, no flash message is passed back.
Close sidebar
Back
Please note that all pasted data is publicly available.
Twitter
GitHub
Use setting
Back
Please note that all pasted data is publicly available.
Twitter
GitHub
Use setting