]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Disable autocomplete on user form 36599/head
authorVolker Theile <vtheile@suse.com>
Thu, 13 Aug 2020 07:31:39 +0000 (09:31 +0200)
committerVolker Theile <vtheile@suse.com>
Fri, 14 Aug 2020 08:23:24 +0000 (10:23 +0200)
Fixes: https://tracker.ceph.com/issues/46915
Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html

index 5ad0cbf5ded0b1de5b80b3793b1b0aed5dd2b943..305195ab113b39855d48a2b73ad663db6531a638 100644 (file)
@@ -22,6 +22,7 @@
                    id="username"
                    name="username"
                    formControlName="username"
+                   autocomplete="off"
                    autofocus>
             <span class="invalid-feedback"
                   *ngIf="userForm.showError('username', formDir, 'required')"
@@ -86,6 +87,7 @@
                      placeholder="Confirm password..."
                      id="confirmpassword"
                      name="confirmpassword"
+                     autocomplete="new-password"
                      formControlName="confirmpassword">
               <span class="input-group-append">
                 <button type="button"