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

Hello,

you can access the authenticated user's data anytime by using something like Auth::user()->name;

Last updated 2 years ago.
0

Thanks man, Alain! :D It works smoothly. So an Auth::<table-name> has all the column names I need? i.e. when the Auth command is executed

Last updated 2 years ago.
0

Yes, you can access column names like Auth::user()->id, Auth::user()->email....

Last updated 2 years ago.
0

Thanks Gabriel. Have a nice day :)

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

dhuzz dhuzz Joined 5 Apr 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.