fixing check uid cookie & redirect
This commit is contained in:
parent
3dfc3205bb
commit
f4f77b6255
1 changed files with 6 additions and 0 deletions
|
|
@ -225,6 +225,12 @@ onMounted(async () => {
|
|||
|
||||
// ดึงชื่อผู้ใช้
|
||||
getName();
|
||||
} else {
|
||||
if (location.hostname != "hrms.bangkok.go.th") {
|
||||
router.push("/sso");
|
||||
} else {
|
||||
window.location.href = `${config.API.URL_SSO}`;
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue