log logout
This commit is contained in:
parent
1fde1370fb
commit
78cbf0d85b
3 changed files with 4 additions and 2 deletions
|
|
@ -4,4 +4,6 @@ const leave = `${env.API_URI}/leave`
|
|||
export default {
|
||||
checkin: () => `${leave}/check-in`,
|
||||
checkTime: () => `${leave}/check-time`,
|
||||
|
||||
keycloakLogSSO: `${env.API_URI}/org/keycloak/log/sso`,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -111,7 +111,8 @@ function onClickLogout() {
|
|||
ok: 'ยืนยัน',
|
||||
persistent: true,
|
||||
}).onOk(async () => {
|
||||
logout()
|
||||
await http.post(config.API.keycloakLogSSO, { text: 'ออกจากระบบ' })
|
||||
await logout()
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue