테마
bm.do('auth:logout')
- 로그인된 고객을 로그아웃 시켜요.
jsx
// <data value="$customer"/> 를 통해 주입된 고객 정보
const customer = bm.context.customer;
// 로그인된 상태인지 체크
if (customer) {
bm.do('auth:logout');
}로그인된 회원(구매자)을 로그아웃 처리하는 예시
jsx
bm.do('auth:logout') // OR 구 문법: bm.do('logout')