set password

This commit is contained in:
peintnermax
2024-10-16 11:20:23 +02:00
parent 20b3c6bfc2
commit 94bd6bc3f6
8 changed files with 52 additions and 31 deletions

View File

@@ -6,6 +6,7 @@ import {
symbolValidator,
upperCaseValidator,
} from "@/helpers/validators";
import { changePassword } from "@/lib/server/password";
import { RegisterUserResponse } from "@/lib/server/register";
import { PasswordComplexitySettings } from "@zitadel/proto/zitadel/settings/v2/password_settings_pb";
import { useTranslations } from "next-intl";
@@ -27,7 +28,9 @@ type Inputs =
| FieldValues;
type Props = {
code?: string;
passwordComplexitySettings: PasswordComplexitySettings;
loginName: string;
organization?: string;
authRequestId?: string;
};