Server
Accounts.setPassword(userId, newPassword, [options])
import { Accounts } from 'meteor/accounts-base'
Source Forcibly change the password for a user.
Arguments
- userId String
-
The id of the user to update.
- newPassword String
-
A new password for the user.
Options
- logout Object
-
Logout all current connections with this userId (default: true)
Please login to continue.