Okay, I know what I did wrong: Controller:
#Auth failed
return Redirect::back() -> with('failed', 'Your Auth failed!') -> withInput(Input::except('password'));
login view:
<?php $status = Session::get('status')
?>
@if (!empty($status))
<div class="alert alert-danger">
{{ $status }}
</div>
@endif
Is this okay, or are there some tips to make it smaller/nicer?
Thanks
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community