aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/admin/common.ts
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/features/admin/common.ts')
-rw-r--r--web_src/js/features/admin/common.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/web_src/js/features/admin/common.ts b/web_src/js/features/admin/common.ts
index 4ed5d62eee..dd5b1f464d 100644
--- a/web_src/js/features/admin/common.ts
+++ b/web_src/js/features/admin/common.ts
@@ -102,6 +102,9 @@ function initAdminAuthentication() {
break;
}
}
+
+ const supportSshPublicKey = document.querySelector<HTMLInputElement>(`#${provider}_SupportSSHPublicKey`)?.value === 'true';
+ toggleElem('.field.oauth2_ssh_public_key_claim_name', supportSshPublicKey);
onOAuth2UseCustomURLChange(applyDefaultValues);
}