keycloak.logout
This commit is contained in:
parent
ad7668ffa9
commit
5e1dd0d2d7
1 changed files with 2 additions and 3 deletions
|
|
@ -416,11 +416,11 @@ const doLogout = () => {
|
|||
dialogConfirm(
|
||||
$q,
|
||||
async () => {
|
||||
keycloak.logout();
|
||||
await deleteCookie("BMAHRIS_KEYCLOAK_IDENTITY");
|
||||
await deleteCookie("BMAHRIS_KEYCLOAK_REFRESH");
|
||||
window.location.href = "/login";
|
||||
},
|
||||
// keycloak.logout(),
|
||||
"ยืนยันการออกจากระบบ",
|
||||
"ต้องการออกจากระบบใช่หรือไม่?"
|
||||
);
|
||||
|
|
@ -527,8 +527,7 @@ function fetchPermissionsSys() {
|
|||
http
|
||||
.get(config.API.orgPermissionsSys)
|
||||
.then((res) => {
|
||||
|
||||
storeMenu.fetchDataPermission(res.data.result)
|
||||
storeMenu.fetchDataPermission(res.data.result);
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue