fix(console): initialize org owner with or without password (#471)

* set password validators only if needed

* create org initialize without pwd

* no caps

* self xss message
This commit is contained in:
Max Peintner
2020-07-15 09:04:45 +02:00
committed by GitHub
parent c051fa8ae1
commit 30282acb42
11 changed files with 148 additions and 113 deletions

View File

@@ -43,9 +43,7 @@
<td mat-cell *matCellDef="let user">
<mat-checkbox color="primary" (click)="$event.stopPropagation()"
(change)="$event ? selection.toggle(user) : null" [checked]="selection.isSelected(user)">
<app-avatar *ngIf="user && (user.displayName || (user.firstName && user.lastName))"
class="avatar"
[name]="user.displayName ? user.displayName : (user.firstName + ' '+ user.lastName)"
<app-avatar *ngIf="user && user.displayName" class="avatar" [name]="user.displayName"
[size]="32">
</app-avatar>
</mat-checkbox>