web/admin: fix oauth2 provider rsaKey being required

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-02 12:48:21 +02:00
parent 54ad6b8dd9
commit ffacd4d021

View file

@ -137,6 +137,7 @@ export class OAuth2ProviderFormPage extends Form<OAuth2Provider> {
?required=${true}
name="rsaKey">
<select class="pf-c-form-control">
<option value="" ?selected=${this.provider?.rsaKey === undefined}>---------</option>
${until(new CryptoApi(DEFAULT_CONFIG).cryptoCertificatekeypairsList({
ordering: "pk",
hasKey: "true",