Everything was working find but suddenly I got this error TokenMismatchException in VerifyCsrfToken.php line 68:
What I have tried
I have checked my form and I used the {!! csrf_field() !!}
also I used <meta name="csrf-token" content="{{ csrf_field() }}" />
and also both matches..
Please check the login at this website and type any login information and you will see the error. http://egypt-pets.com/login
Form Code
{{ Form::open(['route' => 'login', 'class' => 'form-signin', 'method' => 'post']) }}
<h3 class="form-signin-heading">Welcome Back! Please Login</h3>
<hr class="colorgraph"><br>
{{ Form::label('email', 'Email: ') }}
<input type="text" class="form-control" name="email" placeholder="example@example.com" required="" autofocus="" />
{{ Form::label('password', 'Password: ', ['class' => 'margin-top-20']) }}
<input type="password" class="form-control" name="password" placeholder="******" required=""/>
<div class="checkbox">
<label>
<input style="width: 16px; margin-top: -11px;" type="checkbox" name="remember" {{ old('remember') ? 'checked' : '' }}> Remember Me
</label>
</div>
<button class="btn btn-lg btn-success btn-block" name="Submit" value="Login" type="Submit"><i class="fa fa-user-o"></i> Login</button>
<a class="btn btn-link" href="{{ route('password.request') }}">
Forgot Your Password?
</a>
<a class="btn btn-link pull-right" href="{{ route('register') }}">
Doesn't have an account?
</a>
<a href="login/facebook" class="btn btn-primary btn-block btn-lg margin-top-20" style="background-color: #3B5998"><i class="fa fa-facebook" style="margin-right: 10px"></i> Login In With Facebook</a>
{{ Form::close() }}
I didn't use {{ csrf_field() }}
because I used HTML helped which already put it.. And I have also tried to use the normal form and use {{ csrf_field() }}
and got the same error