Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
created() {
if (location.search) {
this.openid = querystring.parse(location.search.substr(1)).openid;
this.$api.Topic.nutzer(this.openid, result => {
this.save(result);
});
} else {
this.remove();
}
if (!this.logined()) {
this.$router.push({
path: "/me"
});
}
}
};
created() {
if (location.search) {
this.openid = querystring.parse(location.search.substr(1)).openid;
this.$api.Topic.nutzer(this.openid, result => {
this.save(result);
});
} else {
this.remove();
}
this.loadTopic(true);
}
};