Meteor.loginWithPassword

Client

Meteor.loginWithPassword(user, password, [callback])

import { Meteor } from 'meteor/meteor' Source

Log the user in with a password.

Arguments

user Object or String

Either a string interpreted as a username or an email; or an object with a single key: email, username or id. Username or email match in a case insensitive manner.

password String

The user's password.

callback Function

Optional callback. Called with no arguments on success, or with a single Error argument on failure.

doc_Meteor
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.