Workaround Meteor issue #5110 so
that accounts-ui-unstyled
(and derived packages) ignores some errors thrown
during login.
meteor add brettle:workaround-issue-5110
Call WorkaroundIssue5110.addIgnoredMessage(message)
to add message
to the
list of ignored messages. Whenever accounts-ui-unstyled
would display
message
as an error, it will instead close the dropdown. Call
WorkaroundIssue5110.removeIgnoredMessage(message)
to remove the message from
the list of ignored messages.
It overrides Accounts._loginButtonsSession.errorMessage
.