diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index 80049223..dc2cbcbe 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -260,7 +260,10 @@ const activeMenu = (path: string) => { const doLogout = () => { dialogConfirm( $q, - () => keycloak.logout(), + () => + keycloak.logout({ + redirectUri: `${window.location.protocol}//${window.location.host}/`, + }), "ยืนยันการออกจากระบบ", "ต้องการออกจากระบบใช่หรือไม่?" );