From af1982d3156da70ad7470679fed68607e1f329d9 Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Wed, 30 Aug 2023 10:50:30 +0530 Subject: [PATCH] mgr/dashboard: remove green tick on old password field a green tick is showing to the field where we enter the old password in login password change form. It starts showing green tick as soon as we start typing on it. Removing that because its misleads the user. Fixes: https://tracker.ceph.com/issues/62644 Signed-off-by: Nizamudeen A (cherry picked from commit 798a95dece66095db8ef0de9ed81c99fe23c4a11) --- .../login-password-form/login-password-form.component.scss | 5 +++++ .../user-password-form/user-password-form.component.scss | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss index 15addd1e8216..9d16a710e3dd 100755 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss @@ -66,3 +66,8 @@ input:-webkit-autofill { .is-invalid.cd-form-control { border-color: transparent; } + +#oldpassword.is-valid { + background-image: unset; + border-color: transparent; +} diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss index e69de29bb2d1..b507fceb03f1 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss @@ -0,0 +1,6 @@ +@use './src/styles/vendor/variables' as vv; + +#oldpassword.is-valid { + background-image: unset; + border-color: vv.$gray-400; +} -- 2.47.3