diff --git a/Dockerfile b/Dockerfile index 6e1316e..0cb258d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,9 @@ COPY package.json package-lock.json ./ # RUN npm config set registry https://mirror-npm.runflare.com # 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 COPY . . diff --git a/src/features/auth/schema/index.js b/src/features/auth/schema/index.js index e1e8535..e1d48e3 100644 --- a/src/features/auth/schema/index.js +++ b/src/features/auth/schema/index.js @@ -21,7 +21,7 @@ export const signupSchema = object().shape({ }) export const verifyCodeSchema = object().shape({ - verifyCode: string().required().max(5), + verifyCode: string().required().length(6), }) export const resetPasswordSchema = object().shape({