]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix error message for the confirmpassword 36312/head
authorIshan Rai <ishanrai05@gmail.com>
Wed, 5 Aug 2020 08:36:08 +0000 (14:06 +0530)
committerIshan Rai <ishanrai05@gmail.com>
Thu, 13 Aug 2020 07:50:20 +0000 (07:50 +0000)
fixes: https://tracker.ceph.com/issues/46494

Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html

index d9e387973f7942ac65d2488951b8a8144419503a..f519132e220b440cb2b55080cd0fc04b0f776f2f 100644 (file)
                         cdPasswordButton="confirmpassword">
                 </button>
               </span>
+              <span class="invalid-feedback"
+                    *ngIf="userForm.showError('confirmpassword', formDir, 'match')"
+                    i18n>Password confirmation doesn't match the password.</span>
             </div>
             <span class="invalid-feedback"
                   *ngIf="userForm.showError('confirmpassword', formDir, 'required')"
                   i18n>This field is required.</span>
-            <span class="invalid-feedback"
-                  *ngIf="userForm.showError('confirmpassword', formDir, 'match')"
-                  i18n>Password confirmation doesn't match the password.</span>
           </div>
         </div>