</option>
</select>
</div>
-
+
+ <div i18n class="transcoding-information" *ngIf="isTranscodingInformationDisplayed()">
+ Transcoding is enabled on server. The video quota only take in account <strong>original</strong> video. <br />
+ At most, this user could use ~ {{ computeQuotaWithTranscoding() | bytes: 0 }}.
+ </div>
+ </div>
+
+ <div class="form-group">
<label i18n for="videoQuotaDaily">Daily video quota</label>
<div class="peertube-select-container">
<select id="videoQuotaDaily" formControlName="videoQuotaDaily">
</option>
</select>
</div>
-
- <div i18n class="transcoding-information" *ngIf="isTranscodingInformationDisplayed()">
- Transcoding is enabled on server. The video quota only take in account <strong>original</strong> video. <br />
- At most, this user could use ~ {{ computeQuotaWithTranscoding() | bytes: 0 }}.
- </div>
</div>
<input type="submit" value="{{ getFormButtonTitle() }}" [disabled]="!form.valid">
</form>
+
+<div *ngIf="isAdministration">
+ <div class="account-title" i18n>Danger Zone</div>
+
+ <p i18n>Send a link to reset the password by mail to the user.</p>
+ <button (click)="resetPassword()" i18n>Ask for new password</button>
+
+ <p class="mt-4" i18n>Manually set the user password</p>
+ <my-user-password></my-user-password>
+</div>
\ No newline at end of file