@@ -8,6 +8,9 @@ COPY package.json package-lock.json ./
|
|||||||
# RUN npm config set registry https://mirror-npm.runflare.com
|
# RUN npm config set registry https://mirror-npm.runflare.com
|
||||||
# RUN npm config set strict-ssl false
|
# RUN npm config set strict-ssl false
|
||||||
|
|
||||||
|
RUN npm config set registry https://package-mirror.liara.ir/repository/npm/ --global
|
||||||
|
RUN npm config set strict-ssl false
|
||||||
|
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ export const signupSchema = object().shape({
|
|||||||
})
|
})
|
||||||
|
|
||||||
export const verifyCodeSchema = object().shape({
|
export const verifyCodeSchema = object().shape({
|
||||||
verifyCode: string().required().max(5),
|
verifyCode: string().required().length(6),
|
||||||
})
|
})
|
||||||
|
|
||||||
export const resetPasswordSchema = object().shape({
|
export const resetPasswordSchema = object().shape({
|
||||||
|
|||||||
Reference in New Issue
Block a user