Closed
Description
Currently Accounts
hooks onLogin
and onLoginFailure
are available only on server.
I am trying to add logic that would move user to certain page on login and it is hard to implement without the hook.
However, it looks logically that this methods should be isomorphic on client. This is one of the core Meteor design philosophy.
Happy to try to implement myself, but would like to get blessing from MDG. Do I sound reasonable? 😄
The only tricky part is that the attempt object would be a bit different on server vs. client (user and connection object). Though I would note it in documentation, I wouldn't worry about it.