replace route on login
This commit is contained in:
parent
500e44fa81
commit
2c59e478c1
@ -54,7 +54,7 @@ export default Vue.extend({
|
|||||||
username: this.username,
|
username: this.username,
|
||||||
server: this.server,
|
server: this.server,
|
||||||
});
|
});
|
||||||
this.$router.push(this.returnTo);
|
this.$router.replace(this.returnTo);
|
||||||
} else {
|
} else {
|
||||||
this.showModal = true;
|
this.showModal = true;
|
||||||
}
|
}
|
||||||
@ -74,7 +74,7 @@ export default Vue.extend({
|
|||||||
username: this.username,
|
username: this.username,
|
||||||
server: this.server,
|
server: this.server,
|
||||||
});
|
});
|
||||||
this.$router.push(this.returnTo);
|
this.$router.replace(this.returnTo);
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
this.error = err;
|
this.error = err;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user