Skip to main content
  • 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

children
React.ReactNode
required
children
needsPasswordChange
boolean
required
needsPasswordChange

Usage

import { PasswordChangeProvider } from '@/components/PasswordChangeProvider';

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