更新时间:2023-12-03 22:36:40
不是使用 Auth :: routes(['verify'=> true]);
,而是使用 Auth::routes();
并手动添加以下路由:
Instead of using Auth::routes(['verify' => true]);
just use Auth::routes();
and manually add these routes:
Route::get('email/verify', 'Auth\VerificationController@show')->name('verification.notice');
Route::get('email/verify/{id}', 'Auth\VerificationController@verify')->name('verification.verify');
Route::get('email/resend', 'Auth\VerificationController@resend')->name('verification.resend');
然后根据需要进行自定义:)
Then customise as you want :)