mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 07:49:50 +02:00
add skip secondary authorization option for public oauth2 clients (#31454)
This commit is contained in:
1 parent
e9aa39bda4
commit
a8d0c879c3
15 files changed
+120
-62
No files matched your search
@@ -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);
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user