]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: remove green tick on old password field
authorNizamudeen A <nia@redhat.com>
Wed, 30 Aug 2023 05:20:30 +0000 (10:50 +0530)
committerNizamudeen A <nia@redhat.com>
Mon, 11 Sep 2023 08:30:01 +0000 (14:00 +0530)
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 <nia@redhat.com>
(cherry picked from commit 798a95dece66095db8ef0de9ed81c99fe23c4a11)

src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss
src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss

index 15addd1e8216273866704bb5d007f8c15305b94d..9d16a710e3dd02bad88870df1567c3f93419cfc7 100755 (executable)
@@ -66,3 +66,8 @@ input:-webkit-autofill {
 .is-invalid.cd-form-control {
   border-color: transparent;
 }
+
+#oldpassword.is-valid {
+  background-image: unset;
+  border-color: transparent;
+}