简体   繁体   English

Laravel 5.5页面由于不活动而过期

[英]Laravel 5.5 The page has expired due to inactivity

I used laravel 5.4 and Zizaco/entrust . 我使用了laravel 5.4和Zizaco / entrust
Today I upgrade my project to Laravel 5.5. 今天,我将项目升级到Laravel 5.5。
When I want to login in my project show me this error 当我想登录我的项目时,向我显示此错误

The page has expired due to inactivity. 该页面因不活动而过期。
Please refresh and try again. 请刷新,然后重试。

I changed SESSION_DRIVER=file to SESSION_DRIVER=array 我将SESSION_DRIVER=file更改为SESSION_DRIVER=array
Laravel show me this error Laravel告诉我这个错误

This cache store does not support tagging. 此缓存存储区不支持标记。

I search on google and find this 我在Google上搜索并找到了这个
https://github.com/Zizaco/entrust/issues/468 https://github.com/Zizaco/entrust/issues/468
and this post tell me set SESSION_DRIVER=array 这个帖子告诉我set SESSION_DRIVER=array

I think you forget to put {!!csrf_fields()!!} inside your login form. 我认为您忘记将{!!csrf_fields()!!}放在您的登录表单中。 Just check your login form, If not just put this code in form. 只需检查您的登录表单,否则就不要在表单中输入此代码。

<form action="" method="">
{!!csrf_fields()!!}
//your input fields
</form>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “由于不活动,页面已过期” - Laravel 5.5 - “The page has expired due to inactivity” - Laravel 5.5 Laravel 5.5:由于不活动,页面已过期 - Laravel 5.5: The page has expired due to inactivity 如何在Laravel 5.5中编辑“页面因不活动而过期”的视图 - How to edit the view of “The page has expired due to inactivity” in Laravel 5.5 由于laravel中的不活动问题,该页面已过期 - The page has expired due to inactivity issue in laravel Laravel 5.6:由于不活动,页面已过期 - Laravel 5.6: The page has expired due to inactivity Laravel 5.5 登录和注册页面说:由于不活动,页面已过期。[TokenMismatchException] - Laravel 5.5 login and register page says:The page has expired due to inactivity.[TokenMismatchException] Laravel 5.5-负载均衡器给出错误消息,该页面由于不活动而已过期 - Laravel 5.5 - Load balancer gives error message the page has expired due to inactivity 该页面因不活动而过期。 请刷新,然后重试。 Laravel 5.5生产 - The page has expired due to inactivity. Please refresh and try again. Laravel 5.5 Production laravel 5.5 由于不活动,页面已过期。 请刷新并重试 - laravel 5.5 The page has expired due to inactivity. Please refresh and try again 由于不活动,页面已过期。 请刷新并重试。 “在我登录后在我的生产托管 cpanel 中”laravel 5.5 - The page has expired due to inactivity. Please refresh and try again. "in my production hosting cpanel after i login" laravel 5.5
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM