For Dashboard Designers Reference SetPasswordView
Wednesday, May 17, 2023 12:20 PMSetPasswordView
Label: :IA_Function
Property: type: SetPasswordView
Inherits from: Function
The SetPassword function renders a view where password can be changed or set. Error or success message appears on the view according to the occasion.
Parameters
Key | Description | Default value | Possible values |
---|---|---|---|
userId |
Id of the user whose password will be changed. Either this or token must be set. If userId is set, Current Password field is visible. |
positive integer | |
token |
Token provided for password reset. Either this or userId must be set. If token is set, Current Password field is not visible. |
base64 string |
Outgoing triggers
Type: success
Occurrence: when password set or changed successfully.
Key | Description | Possible values |
---|---|---|
user |
User whose password is set or changed | object |
Type: error
Occurrence: in case of an error while setting or changing password.
Key | Description | Possible values |
---|---|---|
response |
Error data | object |