Hide all email block if we can't change it

pull/5318/head
Chocobozzz 2022-09-28 15:48:47 +02:00
parent 77662dae24
commit 1f545e80b4
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<strong>{{ user.pendingEmail }}</strong> is awaiting email verification
</div>
<form role="form" class="change-email" (ngSubmit)="changeEmail()" [formGroup]="form" *ngIf="user.pluginAuth === null">
<form role="form" class="change-email" (ngSubmit)="changeEmail()" [formGroup]="form">
<div class="form-group">
<label i18n for="new-email">Change your email</label>

View File

@ -62,7 +62,7 @@
</div>
</div>
<div class="row mt-5"> <!-- email grid -->
<div class="row mt-5" *ngIf="user.pluginAuth === null"> <!-- email grid -->
<div class="col-12 col-lg-4 col-xl-3">
<h2 i18n class="account-title">EMAIL</h2>
</div>