log out => fix bug
This commit is contained in:
parent
8cab218cac
commit
1c3f947274
1 changed files with 4 additions and 1 deletions
|
|
@ -260,7 +260,10 @@ const activeMenu = (path: string) => {
|
||||||
const doLogout = () => {
|
const doLogout = () => {
|
||||||
dialogConfirm(
|
dialogConfirm(
|
||||||
$q,
|
$q,
|
||||||
() => keycloak.logout(),
|
() =>
|
||||||
|
keycloak.logout({
|
||||||
|
redirectUri: `${window.location.protocol}//${window.location.host}/`,
|
||||||
|
}),
|
||||||
"ยืนยันการออกจากระบบ",
|
"ยืนยันการออกจากระบบ",
|
||||||
"ต้องการออกจากระบบใช่หรือไม่?"
|
"ต้องการออกจากระบบใช่หรือไม่?"
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue