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
@@ -36,8 +36,7 @@
</app-card>
<ng-template appHasRole [appHasRole]="['user.read', 'user.read:'+user?.id]">
<app-card title="{{ 'USER.PROFILE.TITLE' | translate }}"
description="{{'USER.PROFILE.DESCRIPTION' | translate}}">
<app-card title="{{ 'USER.PROFILE.TITLE' | translate }}">
<app-detail-form
*ngIf="((authUserService.isAllowed(['user.write:' + user?.id, 'user.write']) | async) || false) as canwrite"
[disabled]="canwrite" [genders]="genders" [languages]="languages" [profile]="user"