laravel 5.7.15 419对不起,您的会话已过期.请刷新,然后重试 [英] laravel 5.7.15 419 Sorry, your session has expired. Please refresh and try again

查看:132
本文介绍了laravel 5.7.15 419对不起,您的会话已过期.请刷新,然后重试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在使用laravel 5.7.15 我面临的问题是

Hello i am using laravel 5.7.15 i am facing issue

<form method="post" action="my_post_Action" class="login100-form validate-form">
<input type="hidden" name="_token" value="B6et9cJOP5wNKodCPgCbAafDjpA5EMcRaaJhEJ9F">
<span class="login100-form-title">
Admin Login
</span>
<div class="wrap-input100 validate-input" data-validate="Valid email is required: ex@abc.xyz">
<input class="input100" type="text" name="email" placeholder="Email">
<span class="focus-input100"></span>
<span class="symbol-input100">
<i class="fa fa-envelope" aria-hidden="true"></i>
</span>
</div>
<div class="wrap-input100 validate-input" data-validate="Password is required">
<input class="input100" type="password" name="password" placeholder="Password">
<span class="focus-input100"></span>
<span class="symbol-input100">
<i class="fa fa-lock" aria-hidden="true"></i>
</span>
</div>
<div class="container-login100-form-btn">
<button class="login100-form-btn">
Login
</button>
</div>
</form>

这是我的代码 我不知道是什么错误 它是我的登录路线,如果我评论csrf验证表kernal.php,则会话不起作用 任何帮助在此先感谢..

here is my code i don't know whats error it my login route if i comment csrf verification form kernal.php then session not work Any Help thanks in advance ..

推荐答案

我没有遇到尝试过所有解决方案的问题 但我必须安装新的Laravel并必须手动移动所有控制器,路线和视图以摆脱该问题,非常感谢你们 :)

I do not really got the issue I have tried every solution but i have to install new Laravel and have to move all my Controllers, Routes, And views manually to get rid of the issue Really thanks to all of you guys :)

这篇关于laravel 5.7.15 419对不起,您的会话已过期.请刷新,然后重试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆