diff --git a/community_server b/community_server index cfc0af844..36ddbba58 160000 --- a/community_server +++ b/community_server @@ -1 +1 @@ -Subproject commit cfc0af844dcb1832993fdb6126493adb443960be +Subproject commit 36ddbba5815435575b2d3c1270d738ccabc9eb54 diff --git a/frontend/src/App.vue b/frontend/src/App.vue index d89ca100d..da80c328f 100755 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -17,19 +17,21 @@ import icon from "./icon.js"; export default { name: 'app', components: { - ParticlesBg, + ParticlesBg }, created () { //console.log("this.$cookies.get('gdd_session_id') ", this.$cookies.get('gdd_session_id') ) - //console.log(" $cookies.isKey('gdd_session_id') == true", this.$cookies.isKey("gdd_session_id") == true ) - if ( this.$cookies.get('gdd_session_id') == this.$store.state.session_id ) { - //this.$store.state.email = this.$cookies.get('gdd_u') + console.log(" $cookies.isKey('gdd_session_id') ", this.$cookies.isKey("gdd_session_id") ) + if ( this.$cookies.isKey('gdd_session_id') ) { + //this.$store.state.email = this.$cookies.get('gdd_u') + console.log("login to kontooverview") this.$router.push('/KontoOverview') }else { + console.log("login to LOGIN") this.$router.push("/Login") } }, - data: function () { + data() { return { config: { num: [1, 7], @@ -51,12 +53,11 @@ export default {