Support the ongoing development of Laravel.io →
Authentication
Last updated 2 years ago.
0

If you want the default for authentication to last for two weeks, you can adjust the session lifetime in the session.php config file.

'lifetime' => 20160, // 60 * 24 * 14

Best

Last updated 2 years ago.
0

Thanks dude awesome I'll run tests.

Last updated 2 years ago.
0

Well, didn't really work out the way I wanted it to.

If you see Github, it keeps the whole computer logged in . With Laravel (code above) each time I open a new tab on the browser I have to log in!

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.