I was developing my Laravel 5.1 project on my Windows PC and yesterday I wanted to transfer the files so I can code in my mac book with MAMP too, after this change when I was trying to register or login with POST I was getting this CSRF error. I read everything I found on this site but I still can't find an answer I can't fix it any ideas?
@extends('layouts.general')
@section('title', 'Φόρμα Εγγραφής Μαθητή')
@section('content')
<body class="bgrey">
<main>
<div class="bwhite registration-form-normal ccenter container ">
<div class="w90 w90center tcenter">
<div class="break"></div><div class="break"></div>
<div class="registration-form-info-text">Φόρμα Εγγραφής για μαθητή.</div>
<div class="break"></div><div class="break"></div>
<form method="POST" action="/auth/register">
{!! csrf_field() !!}
<input class="registration_normal_email scholio_input " name="email" type="text" placeholder="Συμπλήρωσε το Email σου">
<div class="break"></div>
<input class="registration_normal_password scholio_input " name="password" type="password" placeholder="Συμπλήρωσε το κωδικό πρόσβασης">
<div class="break"></div>
<input class="registration_normal_password_confirmation scholio_input " name="password_confirmation" type="password" placeholder="Συμπλήρωσε την επιβεβαίωση κωδικού πρόσβασης">
<div class="break"></div>
<div class="break"></div>
<input class="dnone" name="role" type="text" value="Μαθητής">
<input class="registration_normal_button" type="submit" value="Ολοκλήρωση Εγγραφής">
<div class="break"></div>
<div class="break"></div>
</form>
</div>
</div>
</main>
</body>
@endsection
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire