role == User::ROLE_MEMBER && Auth::user()->status == User::STATUS_ACTIVE) { return $next($request); } return redirect()->route('login'); } }