onLogin handler fired twice - Meteor 1.8.3

Hello, we have updated an application from 1.8.1 to 1.8.3, we’ve notice that a part of the code that relies in a callback to onLogin it’s being called twice.

It seems to be related with this change by @benjamn: https://github.com/meteor/meteor/commit/ec0ed4dec988874c4c85fe18d9d2b5d26b553d55

We will research a bit further before creating an issue but posting here in case anyone else is experiencing the same problem?

Thanks!
R

You know, I bet that callback could be wrapped so that it executes the original callback at most once. Do you have time to open a quick issue, and copy/paste this description into it?

Thanks @benjamn. As a reference issue is tracked here: https://github.com/meteor/meteor/issues/10853