1 year ago

Get the user_id of a guard

Posted 1 year ago by nanadjei2

I want to get the id of an authenticated admin user of my application but it returns error Undefined property: Illuminate\Auth\SessionGuard::$id. Can anyone help me. Thank you.

Please sign in or create an account to participate in this conversation.