> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: changePassword(newPassword: string, token: string) # Method package: wixMembersFrontend # Method menu location: wixMembersFrontend --> Authentication --> changePassword # Method Link: https://dev.wix.com/docs/velo/apis/wix-members-frontend/authentication/change-password.md # Method Description: Changes the member's password to a new one, using a reset token. __Important:__ This method is in Developer Preview and is subject to change. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Change the member's password using a reset token ```javascript import { authentication } from 'wix-members-frontend'; authentication .changePassword(newPassword, token) .then(() => { console.log('Password changed successfully'); }) .catch((error) => { console.error('Error changing password:', error); }); ``` ---