mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-11-04 08:10:28 +09:00
비밀번호 변경 페이지 구현
This commit is contained in:
1 parent
299787537e
commit
8bb4d70fa5
10 files changed
+99
-14
No files matched your search
@@ -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