From 74bfe955703ffb88fa4b425904947903e006bf7f Mon Sep 17 00:00:00 2001
From: "hamza.hramchi" <hamza.hramchi@xelians.fr>
Date: Fri, 28 May 2021 11:28:27 +0200
Subject: [PATCH] FIX #16992 TIME 0:05 Fix admin otp: email checkbox is not
 checked

---
 src/frontend/app/administration/otp/otp.component.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frontend/app/administration/otp/otp.component.html b/src/frontend/app/administration/otp/otp.component.html
index a332eb00eb..137c637e1a 100644
--- a/src/frontend/app/administration/otp/otp.component.html
+++ b/src/frontend/app/administration/otp/otp.component.html
@@ -7,7 +7,7 @@
         <ion-title>{{title}}</ion-title>
     </ion-toolbar>
 </ion-header>
-<form style="display: contents;" id="adminForm" (ngSubmit)="onSubmit()" #adminForm="ngForm">
+<form *ngIf="!loading" style="display: contents;" id="adminForm" (ngSubmit)="onSubmit()" #adminForm="ngForm">
     <ion-content>
         <ion-item>
             <ion-label color="secondary" position="floating">{{'lang.label' | translate}} *</ion-label>
-- 
GitLab