I have a default table users and related table user_details.
When user does auth it retrieves data from users table and is available to global object:
Auth::user()
How to extend Auth::user() with data from related table user_details
?
Reason is to show a full information about authenticated user in each pages(at header)
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire