Moved CSRF token

This commit is contained in:
snipe 2016-10-31 13:25:50 -07:00
parent dce5afde78
commit 41defb312b

View file

@ -5,6 +5,8 @@
@section('content') @section('content')
<form role="form" action="{{ url('/login') }}" method="POST"> <form role="form" action="{{ url('/login') }}" method="POST">
<input type="hidden" name="_token" value="{{ csrf_token() }}" />
<div class="container"> <div class="container">
<div class="row"> <div class="row">
@ -25,7 +27,7 @@
<div class="col-md-12"> <div class="col-md-12">
<!-- CSRF Token --> <!-- CSRF Token -->
<input type="hidden" name="_token" value="{{ csrf_token() }}" />
<fieldset> <fieldset>
<div class="form-group{{ $errors->has('username') ? ' has-error' : '' }}"> <div class="form-group{{ $errors->has('username') ? ' has-error' : '' }}">