Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Change or reset a password
useAuth()
import { useAuth } from '@kerne/react'; function ChangePasswordForm() { const { updatePassword } = useAuth(); await updatePassword({ currentPassword, newPassword }); }
import { useAuth } from '@kerne/react'; function ForgotPasswordForm() { const { requestPasswordReset } = useAuth(); await requestPasswordReset(email); // sends the reset email }
import { useAuth } from '@kerne/react'; function ResetPasswordForm({ token }: { token: string }) { const { confirmPasswordReset } = useAuth(); await confirmPasswordReset(token, newPassword); }