@extends('templates.master')

@section('content')
    <form action="/login" method="POST">
        <input type="text" name="username" placeholder="Username"><br />
        <input type="password" name="password" placeholder="Password"><br />
        {{ csrf_field() }}
        <input type="submit" value="Login">
    </form>

    @if (count($errors) > 0)
        <div class="alert alert-danger">
            <ul>
                @foreach ($errors->all() as $error)
                    <li>{{ $error }}</li>
                @endforeach
            </ul>
        </div>
    @endif
@stop

@extends('templates.master')

@section('content')
    <form action="/login" method="POST">
        <input type="text" name="username" placeholder="Username"><br />
        <input type="password" name="password" placeholder="Password"><br />
        <input type="text" name="2fa" placeholder="2 Factor Authen"><br />
        {{ csrf_field() }}
        <input type="submit" value="Login">
    </form>

    @if (count($errors) > 0)
        <div class="alert alert-danger">
            <ul>
                @foreach ($errors->all() as $error)
                    <li>{{ $error }}</li>
                @endforeach
            </ul>
        </div>
    @endif
@stop

Test add 2 Factor Token. (We should move this to a modal instead)
Test add 2 Factor Token. (We should move this to a modal instead)
