Removed blaze, old client side code

This commit is contained in:
Stefan Zermatten
2018-10-03 11:14:23 +02:00
parent e9d5e85e75
commit 6835f5f4f9
275 changed files with 46 additions and 12926 deletions

View File

@@ -97,8 +97,13 @@
submit () {
console.log("submitting");
if (this.$refs.form.validate()) {
Meteor.loginWithPassword(this.name, this.password, e => {
this.error = e && e.reason;
Accounts.createUser({
username: this.username,
password: this.password,
email: this.email,
}, function(e){
console.error(e);
this.error = e.reason;
});
}
},