init($request); if(!Auth::user()->isGoogle2Fa()){ return $AuthGoogle2FA->makeActiveOneTimePasswordResponse(); } if ($AuthGoogle2FA->isAuthenticated()) { return $next($request); } return $AuthGoogle2FA->makeRequestOneTimePasswordResponse(); } }