- Laravel中在用用户认证脚手架的时候,如果直接用
php artisan ui:auth
的话,生成的路由中是不包括邮箱那部分的,如果想要包含的话,需要在路由文件web.php
中这样写 :Auth::routes(['verify' => true])
;
php artisan ui:auth
的话,生成的路由中是不包括邮箱那部分的,如果想要包含的话,需要在路由文件web.php
中这样写 :Auth::routes(['verify' => true])
;本文标题:Laravel中的邮箱验证路由
本文链接:https://www.haomeiwen.com/subject/byfmphtx.html
网友评论