added permission repo and changes to recorder state, etc

This commit is contained in:
2019-11-28 19:39:18 +01:00
parent 42366def40
commit 39e7bbd098
14 changed files with 4219 additions and 3905 deletions

View File

@@ -69,6 +69,7 @@
redirectTarget: 'profile',
redirectTime: 5,
loginProviders: [],
redirect_interval: null,
};
},
methods: {
@@ -118,11 +119,11 @@
if (this.$route.query.redirectionTarget) {
this.redirectTarget = this.$route.query.redirectionTarget;
}
let interval = window.setInterval(() => {
this.redirect_interval = window.setInterval(() => {
console.log(this.redirectTime);
this.redirectTime = this.redirectTime - 1;
if (this.redirectTime < 0) {
clearInterval(interval);
clearInterval(this.redirect_interval);
this.$router.push({name: this.redirectTarget});
}
}, 1000);
@@ -130,6 +131,7 @@
});
},
beforeDestroy() {
clearInterval(this.redirect_interval);
EventBus.$off('failedRegistering');
EventBus.$off('failedAuthentication');
},