optional callback to Accounts.loginWithPassword is no more optional #2255
Comments
Thanks @splendido! Fixed on devel. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there!
If I'm not wrong, commit b567046 hampered the possibility to call Accounts.loginWithPassword without callback option.
See lines
meteor/packages/accounts-password/password_client.js
Line 44 in 1c12b1a
meteor/packages/accounts-password/password_client.js
Line 46 in 1c12b1a
I'm not making a pull request since this can be easily fixed in various way, among which, e.g., putting
callback && callback()
. But it might depends on personal taste...btw, awesome work!
The text was updated successfully, but these errors were encountered: