ro
c77eeafb2c
Added controller to handle the login process and session management that stores information about the person that has logged in so that info is available through out the app when logged in
19 lines
690 B
PHP
19 lines
690 B
PHP
<section class="login">
|
|
<div>
|
|
<img id="the-logo" src="/assets/images/global/fipamo-logo.svg"/>
|
|
</div>
|
|
<form action="/login" method="post" enctype="multipart/form-data">
|
|
@csrf
|
|
<input type="text" name="handle" class="form-control" placeholder="Handle" required/>
|
|
<input type="password" name="password" class="form-control" placeholder="Password" required/>
|
|
@if($errors->any())
|
|
<input type="submit" value="{{$errors->first()}}" name="submit_button">
|
|
@else
|
|
<input type="submit" value="Knock Knock" name="submit_button">
|
|
@endif
|
|
|
|
<a href="/dashboard/reset-password">?</a>
|
|
|
|
</form>
|
|
</section>
|