log logout
This commit is contained in:
parent
216a3ff8d7
commit
355f7f58c7
2 changed files with 3 additions and 2 deletions
|
|
@ -103,5 +103,5 @@ export default {
|
||||||
/** View Work Flow*/
|
/** View Work Flow*/
|
||||||
viewWorkflow: `${organization}/view-workflow`,
|
viewWorkflow: `${organization}/view-workflow`,
|
||||||
|
|
||||||
|
keycloakLogSSO: `${organization}/keycloak/log/sso`,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -237,7 +237,8 @@ function doLogout() {
|
||||||
dialogConfirm(
|
dialogConfirm(
|
||||||
$q,
|
$q,
|
||||||
async () => {
|
async () => {
|
||||||
logout();
|
await http.post(config.API.keycloakLogSSO, { text: "ออกจากระบบ" });
|
||||||
|
await logout();
|
||||||
},
|
},
|
||||||
"ยืนยันการออกจากระบบ",
|
"ยืนยันการออกจากระบบ",
|
||||||
"ต้องการออกจากระบบใช่หรือไม่?"
|
"ต้องการออกจากระบบใช่หรือไม่?"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue