> For the complete documentation index, see [llms.txt](https://estare.gitbook.io/firebase-auth-firestore-and-storage-plugin/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://estare.gitbook.io/firebase-auth-firestore-and-storage-plugin/plugin-front-end-actions/firebase-auth/update-users-password.md).

# Update User's Password

This action will update the current user's password.

***

## <mark style="color:blue;">Inputs and Settings</mark>

<div align="left"><figure><img src="https://284736847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiWu3FezEjWxrPbkf8zIP%2Fuploads%2FeFfhHvwr52CHk81175CK%2Fimage.png?alt=media&amp;token=b592a24f-7d4a-4bd4-a1aa-468d8c325136" alt=""><figcaption></figcaption></figure></div>

### Old Password

The current user's password. Required to confirm the operation.

### New Password

The new password to be considered. Although it's not required, it would be wise to ask for the user to confirm or re-enter the new password on this new one.

### Trigger ID (optional)

This will link the action with a [Action Listener](/firebase-auth-firestore-and-storage-plugin/plugin-elements/firebase-action-listener.md) of the same ID.&#x20;

If left blank, all listeners on the page with blank ID's will be triggered at the same time, so we suggest to always define a Trigger ID.

When the function finishes running, it will trigger the [User Updated](https://estare.gitbook.io/firebase-auth-firestore-and-storage-plugin/plugin-elements/firebase-action-listener#user-updated) event, storing the user's ID and Email on the listener's states.

***

## <mark style="color:blue;">Triggered events</mark>

Those events are triggered by an [Action Listener](/firebase-auth-firestore-and-storage-plugin/plugin-elements/firebase-action-listener.md) with the same ID as the [Trigger ID](#trigger-id-optional) provided on the action.

* User Updated (if the action was successful)
* Error in Action (if an error occurs)

***

## <mark style="color:blue;">Stored values on the listener</mark>

### User ID

The current user's ID.

### User Email

The current user's email address.
