fix: admin users
Deploy banu-front / deploy (push) Failing after 16s

This commit is contained in:
sajjadtalkhabi
2026-06-10 20:55:54 +03:30
parent b8ccbcc030
commit b9fa65b84f
51 changed files with 373 additions and 255 deletions
+3 -3
View File
@@ -4,18 +4,18 @@ import { phoneNumberRule } from '@/constants/rules/phoneNumberRule'
import { passwordConfirmationRule } from '@/constants/rules/passwordConfirmationRule'
export const loginSchema = object().shape({
phoneNumber: phoneNumberRule,
phone: phoneNumberRule,
password: string().required(),
})
export const loginWithCodeSchema = object().shape({
phoneNumber: phoneNumberRule,
phone: phoneNumberRule,
})
export const signupSchema = object().shape({
firstName: string().required().min(3),
lastName: string().required().min(3),
phoneNumber: phoneNumberRule,
phone: phoneNumberRule,
password: passwordRule,
passwordConfirmation: passwordConfirmationRule,
})