---
title: "change-password"
description: "Easily update passwords for logged-in users with our change-password modal integration guide. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/developers/ui-dev/actions/change-password"
---

# change-password

ID: `change-password`

This action brings up a modal that provides a logged in user with a means to change their own password.

## Sample Code

```
var UI = require("ui");

var actionContext = {};
actionContext.user = observableHolder.observable("user").get();

UI.startAction(observableHolder, "change-password", actionContext, function(err) {
    // all done
});
```

## Configuration

The sample code sets the following `actionContext` keys:

| Key | Type | Description |
| --- | --- | --- |
| `user` |  | The user, set from `observableHolder.observable("user").get()` in the sample |
