rizaldywirawan
2 years ago
907
11
Laravel

How AuthenticateUsers Trait from Laravel Built-in Authentication Communicate with User Model?

Posted 2 years ago by rizaldywirawan

Hai,

Out of curiosity. Can someone tell me how the login process at built-in authentication works?

What i know, the process will use login() method which is from AuthenticateUsers Trait.

Can someone explain to me, where do they define connection to the User model?

Or if I miss something, can please someone explain it for me?

Thank you.

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