fix(console): get idps from login policy, add policy if not existent (#3746)

This commit is contained in:
Max Peintner
2022-05-31 20:44:53 +02:00
committed by GitHub
parent fb93085430
commit e0dd84367e
2 changed files with 139 additions and 26 deletions

View File

@@ -257,7 +257,6 @@ export class LoginPolicyComponent implements OnInit {
public removeFactor(request: Promise<unknown>): void {
// create policy before types can be removed
if (this.isDefault) {
console.log('create policy');
this.updateData()
.then(() => {
return request;