Advertisement
Guest User

Untitled

a guest
Feb 19th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. Uncaught TypeError: Cannot read property 'length' of undefined
  2. at Utf8Encode (sha256.js:104)
  3. at SHA256 (sha256.js:136)
  4. at AccountsClient.Accounts._hashPassword (password_client.js:67)
  5. at Object.Meteor.loginWithPassword (password_client.js:33)
  6. at Object.submit form (login.js:6)
  7. at template.js:483
  8. at Function.Template._withTemplateInstanceFunc (template.js:457)
  9. at Blaze.View.<anonymous> (template.js:482)
  10. at view.js:884
  11. at Object.Blaze._withCurrentView (view.js:538)
  12.  
  13. Template.login.events({
  14. 'submit form': function(event){
  15. event.preventDefault();
  16. var email = $('[name=email]').val();
  17. var password = $('[name=password]').val();
  18. Meteor.loginWithPassword(email, password);
  19. Router.go('home');
  20. }
  21. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement