From 45a90d08322b9ffca0d68edeaa07a5514590ce08 Mon Sep 17 00:00:00 2001 From: Agit Rubar Demir Date: Wed, 15 Dec 2021 22:15:35 +0300 Subject: [PATCH] Officer Number Length Has Been Fixed --- pages/login/officer/forgot-password/index.js | 4 ++-- pages/login/officer/index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/login/officer/forgot-password/index.js b/pages/login/officer/forgot-password/index.js index 60ef18fb..0a0cb809 100644 --- a/pages/login/officer/forgot-password/index.js +++ b/pages/login/officer/forgot-password/index.js @@ -105,8 +105,8 @@ export default function ForgotPassword() { name="officer-number" type="text" autoComplete="current-username" - minLength="8" - maxLength="8" + minLength="5" + maxLength="5" required pattern="[0-9.]+" className="font-phenomenaRegular text-sis-yellow mt-1 focus:ring-sis-yellow focus:border-sis-yellow block w-full shadow-sm sm:text-xl border-gray-300 rounded-md focus:text-sis-darkblue" diff --git a/pages/login/officer/index.js b/pages/login/officer/index.js index 1c7f35e7..f3bfe79e 100644 --- a/pages/login/officer/index.js +++ b/pages/login/officer/index.js @@ -98,8 +98,8 @@ export default function OfficerLogin() { name="officer-number" type="text" autoComplete="current-username" - minLength="8" - maxLength="8" + minLength="5" + maxLength="5" required pattern="[0-9.]+" className="font-phenomenaRegular text-sis-yellow mt-1 focus:ring-sis-yellow focus:border-sis-yellow block w-full shadow-sm sm:text-xl border-gray-300 rounded-md focus:text-sis-darkblue"