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

From the docs, why not check if a user is authenticated (logged in) using this:

if (Auth::check())
{
    // The user is logged in...
}
Last updated 2 years ago.
0

Hey Martijn,

thanks for the quick response. I know, that it is possible to check Laravel related Logins this way, but as I tried to explain, the session data is not stored by Laravel, but in the way of $_SESSION['loggedin'] = 1; The question is, how I can get information about that foreign data.

Last updated 2 years ago.
0

I am hitting this problem now too...

Any updates?

Thanks

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

bart bart Joined 24 Mar 2014

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.