Commit 9ef1f7a8 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #16956 TIME 0:10 hide security mode + message info if visa

parent cfebfcc1
......@@ -30,14 +30,6 @@
<mat-label>{{'lang.email' | translate}}</mat-label>
<input matInput #email type="email" [(ngModel)]="userOTP.email" pattern="(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$)" required>
</mat-form-field>
<mat-form-field *ngIf="currentSource.length > 1" appearance="fill">
<mat-label>{{ 'lang.securityMode' | translate }}</mat-label>
<mat-select #securityMode [(ngModel)]="userOTP.security"required>
<mat-option *ngFor="let mode of currentSource" [value]="mode" >
{{ 'lang.' + mode | translate }}
</mat-option>
</mat-select>
</mat-form-field>
<mat-label>{{'lang.role' | translate}}</mat-label>
<mat-form-field>
<input matInput style="display: none;">
......@@ -47,7 +39,15 @@
</mat-radio-button>
</mat-radio-group >
</mat-form-field>
<app-maarch-message *ngIf="userOTP.security" [mode]="'info'" [content]="'lang.securityModeInfo' | translate : {mode: userOTP.security}"></app-maarch-message>
<mat-form-field *ngIf="currentSource.length > 1 && userOTP.role !== 'visa'" appearance="fill">
<mat-label>{{ 'lang.securityMode' | translate }}</mat-label>
<mat-select #securityMode [(ngModel)]="userOTP.security"required>
<mat-option *ngFor="let mode of currentSource" [value]="mode" >
{{ 'lang.' + mode | translate }}
</mat-option>
</mat-select>
</mat-form-field>
<app-maarch-message *ngIf="userOTP.security && userOTP.role !== 'visa'" [mode]="'info'" [content]="'lang.securityModeInfo' | translate : {mode: userOTP.security}"></app-maarch-message>
</div>
</div>
<span class="divider-modal"></span>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment