Skip to content

Instantly share code, notes, and snippets.

@vijayh
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vijayh/7c04f49f4d97a2ecd76c to your computer and use it in GitHub Desktop.
Save vijayh/7c04f49f4d97a2ecd76c to your computer and use it in GitHub Desktop.
login with password issue
AutoForm.hooks({
formID: {
onSubmit: function(doc) {
this.event.preventDefault();
console.log("i see this in my console");
Meteor.loginWithPassword(doc.email, doc.password, function(error) {
console.log("this is never called/displayed in the console when in the iOS sim, but works in browser");
});
this.done();
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment