]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Disable autocomplete on user form 36901/head
authorVolker Theile <vtheile@suse.com>
Thu, 13 Aug 2020 07:31:39 +0000 (09:31 +0200)
committerLaura Paduano <lpaduano@suse.com>
Mon, 31 Aug 2020 08:49:48 +0000 (10:49 +0200)
Fixes: https://tracker.ceph.com/issues/46915
Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit a48989f87bf7e2c38e8795ee7a4523670f7727f2)

src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html

index 59f32c9cbe689ab446221978175e6de059fddcfe..3793dabc462e9b606f3bca03f8f42f6a3d1632e0 100644 (file)
@@ -25,6 +25,7 @@
                    id="username"
                    name="username"
                    formControlName="username"
+                   autocomplete="off"
                    autofocus>
             <span class="invalid-feedback"
                   *ngIf="userForm.showError('username', formDir, 'required')"
@@ -91,6 +92,7 @@
                      placeholder="Confirm password..."
                      id="confirmpassword"
                      name="confirmpassword"
+                     autocomplete="new-password"
                      formControlName="confirmpassword">
               <span class="input-group-append">
                 <button type="button"