log logout

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-13 15:37:59 +07:00
parent 216a3ff8d7
commit 355f7f58c7
2 changed files with 3 additions and 2 deletions

View file

@ -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`,
}; };

View file

@ -237,7 +237,8 @@ function doLogout() {
dialogConfirm( dialogConfirm(
$q, $q,
async () => { async () => {
logout(); await http.post(config.API.keycloakLogSSO, { text: "ออกจากระบบ" });
await logout();
}, },
"ยืนยันการออกจากระบบ", "ยืนยันการออกจากระบบ",
"ต้องการออกจากระบบใช่หรือไม่?" "ต้องการออกจากระบบใช่หรือไม่?"