]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.html
Fix video import of some youtube videos
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-settings / my-account-change-password / my-account-change-password.component.html
index 913b570cb697def13726f0994c238c1d64e39caf..ab6df52be475008fa9dbc663697ac31fdb1a6486 100644 (file)
@@ -6,7 +6,6 @@
   <input
     type="password" id="new-password" i18n-placeholder placeholder="New password"
     formControlName="new-password" [ngClass]="{ 'input-error': formErrors['new-password'] }"
-    (change)="validateNewPassword()"  (blur)="printAnError()"
   >
   <div *ngIf="formErrors['new-password']" class="form-error">
     {{ formErrors['new-password'] }}
 
   <input
     type="password" id="new-confirmed-password" i18n-placeholder placeholder="Confirm new password"
-    formControlName="new-confirmed-password" (change)="validateNewPassword()" (blur)="printAnError()"
+    formControlName="new-confirmed-password"
   >
+  <div *ngIf="formErrors['new-confirmed-password']" class="form-error">
+    {{ formErrors['new-confirmed-password'] }}
+  </div>
 
-  <input type="submit" i18n-value value="Change password" [disabled]="!form.valid || unsendable">
+  <input type="submit" i18n-value value="Change password" [disabled]="!form.valid">
 </form>