Multiple Accounts.onLogin callbacks?


I’m trying to register more than one callback for successful logins, but it seems only the first callback is used

I tested it simply by printing to console, e.g.

Accounts.onLogin(function() { console.log('first callback'); });

Accounts.onLogin(function() { console.log('second callback'); });

all I get is: first callback

anyone had this trouble before?