dimanche 29 novembre 2015

TokenMismatchException in VerifyCsrfToken.php line 53: in laravel 5.1

Below is my form code

 <div class="row">
    <div class="form-group col-sm-12">   
    <input type="text" name="name" class="form-control" id="name" placeholder="Enter name ">
    </div>
</div>
<div class="row">
    <div class="form-group col-sm-12">   
    <input type="email" name="email" class="form-control" id="email" placeholder="Enter email ">
    </div>
</div>
<div class="row">
    <div class="form-group col-sm-12">
    <input type="password" name="password" class="form-control" id="pwd" placeholder="Enter password">
    </div>
</div>
<div class="row">
    <div class="form-group col-sm-12">
    <input type="password" class="form-control" id="pwd" placeholder="Re-enter password">
    </div>

  <div class="row">
  <div class="col-sm-6 ">

  <input type="submit" class="btn btn-info" value="SIGNUP">
  </div>

  </div>

    </form>

After submitting form it shows TokenMismatchException in VerifyCsrfToken.php line 53: I am completely get frustrated due to this errror. I also used token in the form and also tried to clear cache but still facing same problem What will be the problem? Please help me. Thank You in advance



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1Pklp2F
via IFTTT

Aucun commentaire:

Enregistrer un commentaire