Laravel Auth与经过验证的中间件

时间:2019-07-08 06:54:57

标签: laravel email-verification

在Laravel 5.8中实现电子邮件验证时,是否在verified中间件之上添加了auth中间件:

Route::get(...)->middleware(['auth', 'verified']);


还是只需将auth替换为verified

Route::get(...)->middleware('verified');

0 个答案:

没有答案