logoutSSO
This commit is contained in:
parent
fdbda02712
commit
66a8302e68
2 changed files with 8 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ import {
|
|||
logout,
|
||||
getCookie,
|
||||
redirectToLandingPage,
|
||||
logoutSSO,
|
||||
} from "@/plugins/auth";
|
||||
|
||||
import { useDataStore } from "@/stores/data";
|
||||
|
|
@ -159,7 +160,7 @@ const doLogout = () => {
|
|||
async () => {
|
||||
await http.post(config.API.keycloakLogSSO, { text: "ออกจากระบบ" });
|
||||
// authen with client
|
||||
await logout();
|
||||
await logoutSSO();
|
||||
},
|
||||
"ยืนยันการออกจากระบบ",
|
||||
"ต้องการออกจากระบบใช่หรือไม่"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue