all apparently working and cleaned up
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user