Fix external user edition
This commit is contained in:
parent
9e5dd0d96e
commit
767bb14a38
|
@ -95,7 +95,7 @@
|
||||||
<input
|
<input
|
||||||
type="text" id="email" i18n-placeholder placeholder="mail@example.com" class="form-control"
|
type="text" id="email" i18n-placeholder placeholder="mail@example.com" class="form-control"
|
||||||
formControlName="email" [ngClass]="{ 'input-error': formErrors['email'] }"
|
formControlName="email" [ngClass]="{ 'input-error': formErrors['email'] }"
|
||||||
autocomplete="off"
|
autocomplete="off" [readonly]="user.pluginAuth !== null"
|
||||||
>
|
>
|
||||||
<div *ngIf="formErrors.email" class="form-error">
|
<div *ngIf="formErrors.email" class="form-error">
|
||||||
{{ formErrors.email }}
|
{{ formErrors.email }}
|
||||||
|
@ -180,7 +180,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div *ngIf="!isCreation() && user" class="form-row mt-4"> <!-- danger zone grid -->
|
<div *ngIf="!isCreation() && user && user.pluginAuth === null" class="form-row mt-4"> <!-- danger zone grid -->
|
||||||
<div class="form-group col-12 col-lg-4 col-xl-3">
|
<div class="form-group col-12 col-lg-4 col-xl-3">
|
||||||
<div class="anchor" id="danger"></div> <!-- danger zone anchor -->
|
<div class="anchor" id="danger"></div> <!-- danger zone anchor -->
|
||||||
<div i18n class="account-title account-title-danger">DANGER ZONE</div>
|
<div i18n class="account-title account-title-danger">DANGER ZONE</div>
|
||||||
|
|
|
@ -107,6 +107,10 @@
|
||||||
color: pvar(--inputPlaceholderColor);
|
color: pvar(--inputPlaceholderColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&[readonly] {
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: $width) {
|
@media screen and (max-width: $width) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user