简体   繁体   English

我想如果用户注册成功,那么用户将在下次没有为该用户注册时进入

[英]I want if user register successfully then user will come next time the registration will not be show for that user

Can you read my question let me know the solution on that. 你能不能读我的问题让我知道解决方案。

I want if user register successfully then user will come next time the registration will not be show for that user. 我想如果用户注册成功,那么用户将在下次没有为该用户注册时进入。

Please help me to solve this issue. 请帮我解决这个问题。

Thank you. 谢谢。

In the config/session.php file you you may specify the number of minutes that you wish the session to be allowed to remain idle before it expires. config/session.php文件中,您可以指定希望会话在到期之前保持空闲的分钟数。

[
    ...

    'lifetime' => 120, // change this to the desired number of minutes
    'expire_on_close' => false,

    ...
]

One more thing you can do is implement the remember me feature that comes out of the box with a brand new installation of laravel. 您还可以做的另一件事是使用全新安装的laravel实现开箱即用的remember me功能。 more info here: https://laravel.com/docs/5.8/authentication#remembering-users 更多信息: https//laravel.com/docs/5.8/authentication#remembering-users

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM