add skip secondary authorization option for public oauth2 clients (#31454)

This commit is contained in:
Denys Konovalov authored and GitHub committed 2024-07-19 14:28:30 -04:00
1 parent e9aa39bda4
commit a8d0c879c3
15 files changed
+120 -62

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
export function initOAuth2SettingsDisableCheckbox() {
for (const e of document.querySelectorAll('.disable-setting')) e.addEventListener('change', ({target}) => {
document.querySelector(e.getAttribute('data-target')).classList.toggle('disabled', target.checked);
});
}