Class: AccountsPassword

AccountsPassword()

Reference implementation to Meteor-Accounts client. Use this to create and manage user accounts.

Members

changePassword

Changes the password of the current authenticated user
Source:

createUser

Source:

forgotPassword

Sends an email to the user with a link to set a new password
Source:

has2faEnabled

Verify if the logged user has 2FA enabled
Source:

onLogin

Register a callback to be called after a login attempt succeeds.
Source:

onLoginFailure

Register a callback to be called after a login attempt fails.
Source:

resetPassword

Reset the password for a user using a token received in email. Logs the user in afterwards if the user doesn't have 2FA enabled.
Source: