fix: handle login policy removed (#882)

This commit is contained in:
Fabi 2020-10-20 15:54:26 +02:00 committed by GitHub
parent 7e56ace9d9
commit 57a3ccc91b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,6 +163,8 @@ func checkExistingLoginPolicyIDPProviderValidation(idpProvider *iam_es_model.IDP
break
}
}
case model.LoginPolicyRemoved:
idps = make([]*iam_es_model.IDPProvider, 0)
}
}
exists := false