all apparently working and cleaned up

This commit is contained in:
2020-06-10 21:40:05 +00:00
parent 0a43e53ab7
commit 3dd7e05549
9 changed files with 12 additions and 985 deletions

View File

@@ -227,7 +227,6 @@ export default {
.get("notify/hello")
.then(res => {
if (res.data != null) {
// console.log("res.data:", res.data);
vm.trialMode = !res.data;
}
})
@@ -259,13 +258,10 @@ export default {
auth
.authenticate(vm.input.username, vm.input.password)
.then(() => {
console.log("LOGIN:BACKFROMAUTHENTICATE");
if (vm.$store.state.openObject != null) {
window.$gz.eventBus.$emit("openobject", null);
} else {
if (!vm.$store.state.homePage) {
console.log("####LOGIN END BUT homePage is empty!");
} else vm.$router.push(vm.$store.state.homePage);
vm.$router.push(vm.$store.state.homePage);
}
})
.catch(function handleCaughtLoginError(error) {