Laravel 5.7 email verification error, route [verification.verify] not defined

前端 未结 6 948
既然无缘
既然无缘 2021-01-04 18:30

I am trying to implement email verification in Laravel 5.7. I have implemented MustVerifyEmail on User model.

class User extends A         


        
6条回答
  •  无人及你
    2021-01-04 18:55

    Laravel includes the Auth\VerificationController class that contains the necessary logic to send verification links and verify emails. To register the necessary routes for this controller, pass the verify option to the Auth::routes method:

    Auth::routes(['verify' => true]);
    

    You can read more information here : https://laravel.com/docs/5.7/verification

提交回复
热议问题