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
+9
View File
@@ -68,6 +68,15 @@ export class OrgService {
);
}
public async GetDefaultPasswordComplexityPolicy(): Promise<PasswordComplexityPolicy> {
const req: Empty = new Empty();
return await this.request(
c => c.getDefaultPasswordComplexityPolicy,
req,
f => f,
);
}
public async GetMyOrg(): Promise<Org> {
return await this.request(
c => c.getMyOrg,