Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
在验证其已验证电子邮件之前,请先确认您有用户
public function handle(Request $request, Closure $next) { if(!Auth::guard('reader')->user() || !Auth::guard('reader')->user()->email_verified){ Auth::guard('reader')->logout(); return redirect()->route('reader.login')->with('fail','Need to verify email.')->withInput(); } return $next($request); }
verify that you have a user before verifying that it has a verified email
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
在验证其已验证电子邮件之前,请先确认您有用户
verify that you have a user before verifying that it has a verified email