web/admin: fix oauth2 provider rsaKey being required
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
54ad6b8dd9
commit
ffacd4d021
|
@ -137,6 +137,7 @@ export class OAuth2ProviderFormPage extends Form<OAuth2Provider> {
|
||||||
?required=${true}
|
?required=${true}
|
||||||
name="rsaKey">
|
name="rsaKey">
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
|
<option value="" ?selected=${this.provider?.rsaKey === undefined}>---------</option>
|
||||||
${until(new CryptoApi(DEFAULT_CONFIG).cryptoCertificatekeypairsList({
|
${until(new CryptoApi(DEFAULT_CONFIG).cryptoCertificatekeypairsList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
hasKey: "true",
|
hasKey: "true",
|
||||||
|
|
Reference in a new issue