> ## Documentation Index
> Fetch the complete documentation index at: https://docs.renchi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# PasswordChangeProvider

> * PasswordChangeProvider - Wraps the dashboard to enforce password change for invited users * Shows the password change dialog when password_reset_required is true. The dialog cannot be dismissed without creating a new password.

* PasswordChangeProvider - Wraps the dashboard to enforce password change for invited users \* Shows the password change dialog when password\_reset\_required is true. The dialog cannot be dismissed without creating a new password.

## Props

<ResponseField name="children" type="React.ReactNode" required={true}>
  children
</ResponseField>

<ResponseField name="needsPasswordChange" type="boolean" required={true}>
  needsPasswordChange
</ResponseField>

## Usage

```tsx theme={null}
import { PasswordChangeProvider } from '@/components/PasswordChangeProvider';

export default function Example() {
  return (
    <PasswordChangeProvider children={children} needsPasswordChange={needsPasswordChange} />
  );
}
```
