Laravel哨兵身份验证过期时间

Laravel哨兵身份验证过期时间,laravel,Laravel,如何设置哨兵身份验证/令牌的过期时间 我需要将时间设置为60分钟或1天 是否可以在配置中设置?但是我找不到过期时间登录的设置。转到config\session.php 将寿命值更改为任意分钟数。Sentry将使用该值作为其会话到期时间 根据laravel文件: | Here you may specify the number of minutes that you wish the session | to be allowed to remain idle before it expires

如何设置哨兵身份验证/令牌的过期时间

我需要将时间设置为60分钟或1天


是否可以在配置中设置?但是我找不到过期时间登录的设置。

转到
config\session.php

寿命
值更改为任意分钟数。Sentry将使用该值作为其会话到期时间

根据laravel文件:

| Here you may specify the number of minutes that you wish the session
| to be allowed to remain idle before it expires. If you want them
| to immediately expire on the browser closing, set that option.

你能说得更清楚一点,或者加上一个文档链接吗?@ehfeng我对此一无所知,当我使用sentry并登录时,一周后我仍然登录,如果超过一天,它会自动注销吗?你发布了sentry配置文件了吗?如果没有,请使用
php artisan config:publish cartalyst/sentry
在我的配置文件夹@Fester中创建sentry