芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/app/Http/Middleware/EmailVerified.php
user() || ($request->user() instanceof MustVerifyEmail && !$request->user()->hasVerifiedEmail() && $globalSetting->email_verification)) { $message = 'Your email address is not verified.'; $user = auth()->user()->user; if ($user?->is_superadmin) { return $next($request); } return $request->expectsJson() ? abort(403, $message) : Redirect::guest(URL::route($redirectToRoute ?: 'verification.notice')); } return $next($request); } }