This commit is contained in:
2020-01-06 18:59:42 +00:00
parent f47943f1f3
commit 8955a56149
4 changed files with 16 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ function handleError(action, error, route, reject) {
"notify-warning",
window.$gz.locale.get("ErrorUserNotAuthorized")
);
router.push("/home-dashboard");
router.push(window.$gz.store.state.homePage);
return reject("[ErrorUserNotAuthorized]");
}