Module

Profile/ChangePassword

Members

function

# static useUpdatePassword

React query hook that updates the password

View Source pages/Dashboard/Profile/ChangePassword/ChangePassword.jsx, line 11

Methods

# inner handleChangePassword(values) → {void}

Handles the change password form submit

Parameters:
Name Type Description
values Object

Form values

View Source pages/Dashboard/Profile/ChangePassword/ChangePassword.jsx, line 18

void

# inner validateConfirmPassword(getFieldValue) → {Object}

Function to validate confirm password

Parameters:
Name Type Description
getFieldValue function

Form getFieldValue function

View Source pages/Dashboard/Profile/ChangePassword/ChangePassword.jsx, line 65

Object

# inner validatePassword(rule, value, callback) → {Promise.<never>|Promise.<void>}

Function to validate password

Parameters:
Name Type Description
rule Object

Form rule

value String

Form value

callback function

Form callback function

View Source pages/Dashboard/Profile/ChangePassword/ChangePassword.jsx, line 31

Promise.<never> | Promise.<void>