Passport exposes a logout() function on req (also aliased as logOut() ) that can be called from any route handler which needs to terminate a login session.
確定! 回上一頁