feat: refactor login handling to use staff-login page and update related imports

This commit is contained in:
Ardeman
2025-03-04 09:44:09 +08:00
parent 8aeb7a3197
commit 6d8e352ffc
5 changed files with 40 additions and 27 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { z } from 'zod'
import { HttpServer } from '~/libs/http-server'
import type { TLoginSchema } from '~/pages/admin-login'
import type { TLoginSchema } from '~/pages/staff-login'
const loginResponseSchema = z.object({
data: z.object({