Php Laravel重置密码中需要什么令牌
在执行重置密码时,我在发送表单后收到此错误:Php Laravel重置密码中需要什么令牌,php,laravel,Php,Laravel,在执行重置密码时,我在发送表单后收到此错误: The token field is required. 我不确定那是什么,因为我有{{csrf_field}}的形式 用于重置我从已发送邮件中获取的密码的Url http://127.0.0.1:8000/page/password/reset/0ebc929e67b6f595be60d290b9bc76c56702998bf45c177d489d6ceb4e615deb 我的表格: <form class="form-horizonta
The token field is required.
我不确定那是什么,因为我有{{csrf_field}}的形式
用于重置我从已发送邮件中获取的密码的Url
http://127.0.0.1:8000/page/password/reset/0ebc929e67b6f595be60d290b9bc76c56702998bf45c177d489d6ceb4e615deb
我的表格:
<form class="form-horizontal" method="POST" action="{{ route('password.request') }}">
{{ csrf_field() }}
...
</form>
如果您的操作=正确,则可能是{{route'password.reset'}
然后尝试将其添加到表单中
或者在拉威尔5.6
@csrf
<form class="form-horizontal" method="POST" action="{{ route('password.request') }}">
{{ csrf_field() }}
...
</form>