mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-16 06:58:46 +00:00
비밀번호 변경 페이지 구현
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const changePasswordRequest = z.object({
|
||||
export const passwordChangeRequest = z.object({
|
||||
oldPassword: z.string().trim().nonempty(),
|
||||
newPassword: z.string().trim().nonempty(),
|
||||
});
|
||||
export type ChangePasswordRequest = z.infer<typeof changePasswordRequest>;
|
||||
export type PasswordChangeRequest = z.infer<typeof passwordChangeRequest>;
|
||||
|
||||
export const loginRequest = z.object({
|
||||
email: z.string().email().nonempty(),
|
||||
|
||||
Reference in New Issue
Block a user