mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix external auth email/password update
Also check if an actor does not already exist when creating the user
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<span class="email">{{ user.pendingEmail }}</span> is awaiting email verification
|
||||
</div>
|
||||
|
||||
<form role="form" class="change-email" (ngSubmit)="changeEmail()" [formGroup]="form">
|
||||
<form role="form" class="change-email" (ngSubmit)="changeEmail()" [formGroup]="form" *ngIf="user.pluginAuth === null">
|
||||
|
||||
<div class="form-group">
|
||||
<label i18n for="new-email">New email</label>
|
||||
@@ -23,6 +23,7 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label i18n for="new-email">Your current password</label>
|
||||
<input
|
||||
type="password" id="password" i18n-placeholder placeholder="Your password" autocomplete="off"
|
||||
formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" class="form-control"
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row mt-5"> <!-- password grid -->
|
||||
<div class="form-row mt-5" *ngIf="user.pluginAuth === null"> <!-- password grid -->
|
||||
<div class="form-group col-12 col-lg-4 col-xl-3">
|
||||
<div i18n class="account-title">PASSWORD</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user