How to change the inbuilt Laravel 5 authentication system?

后端 未结 1 945
天涯浪人
天涯浪人 2021-01-24 05:49

I am working with Laravel 5 for the first time. I have worked with 4 earlier. Laravel ships with a AuthenticatesAndRegisterUsers.php file which handles most of the stuff and mak

1条回答
  •  野的像风
    2021-01-24 06:10

    You can just override those methods in the AuthController (or whatever controller that uses the trait). Simply copy both functions over and you're good to go.

    0 讨论(0)
提交回复
热议问题