Components
<SecuritySettings />
A container component that wraps security-related settings like password management.
Usage
Change password
Linked accounts
Active sessions
import { SecuritySettings } from "@/components/auth/settings/security/security-settings"
export function SecuritySettingsDemo() {
return (
<div className="w-full">
<SecuritySettings />
</div>
)
}Installation
npx shadcn@latest add @better-auth-ui/security-settingsProps
Prop
Type
Fresh-session checks
Sensitive session operations can return SESSION_NOT_FRESH. The active sessions card shows an inline password prompt for this response. After the user signs in again, it retries the session query. If password sign-in is disabled, the prompt links to the configured sign-in route.
Last updated on