user()->email != '' && $request->is('auth/bind')) { return redirect('/user'); } elseif ($request->user()->email == '' && !$request->is('auth/bind')) { return redirect('/auth/bind'); } return $next($request); } }