So, after running my app with users-account for several months, it suddenly stopped working.
Meteor.loggingIn() is returning true but no callbacks are ever called, take a look at my code:
@loginUser = (email, password) -> console.log email + "," + password #logs my email and password correctly Meteor.loginWithPassword email, password, (error) -> console.log "Callback: " + error?.reason #Never gets called back
I’m also using Accounts.onLogin callbacks:
if Meteor.isClient Accounts.onLogin -> console.log "Logged in" #Nevers gets called back Accounts.onLogout -> console.log "Logged out" #Nevers gets called back
So, no errors or any clues at what is causing this exactly…
I’ve tried to rollback to accounts-ui to check if the accounts system would work with it, but when trying to login with the standard ui, it doesn’t work: no login, no error message, just the login spinner looping forever
The same happens when I try to register a new user… I’m probably going to start removing packages from this project to check if there are any compatibility issues