requestLoginTokenForUser causes audit-argument-checks to throw error
Author: generallegerCreated May 30, 2022Updated Sep 28, 2026
LabelsProject:Accounts:Passwordless
Version 2.7.2 OS - MacOS
Expected behavior: audit-argument-checks should not cause errors on internal methods
Actual behavior:
Exception while invoking method 'requestLoginTokenForUser' Error: Did not check() all arguments during call to 'requestLoginTokenForUser'
This is pretty straightforward, I think. Does not look like there are checks here: https://github.com/meteor/meteor/blob/41e1685c47d182d39c969cc91ae60e8fa6793faf/packages/accounts-passwordless/passwordless_server.js#L146
This bug report should include:
- A short, but descriptive title. The title doesn't need "Meteor" in it.
- The version of Meteor showing the problem.
- The last version of Meteor where the problem did not occur, if applicable.
- The operating system you're running Meteor on.
- The expected behavior.
- The actual behavior.
- A simple reproduction! (Must include the Github repository and steps to reproduce the issue on it.)
Source: meteor/meteor