Skip to main content

Change password

This function lets you change your password with a simple function.

caution

eklase will keep track of your new password, but when you restart your code it no longer has the ability to do so. Make sure to update the password in the eklase initialisation to reflect the password change.

Usage

The argument newPassword will be the password you will replace the existing one with. Be careful with changing your password, as it can lock you out of your own account.

let data = wrapper.user.settings.update.password(newPassword)

Response

The response will be an empty array