mirror of
https://github.com/thomiceli/opengist.git
synced 2025-06-22 09:47:58 +02:00
Disable login form via admin panel
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
registerDomSetting(document.getElementById('disable-signup') as HTMLInputElement);
|
||||
registerDomSetting(document.getElementById('require-login') as HTMLInputElement);
|
||||
registerDomSetting(document.getElementById('disable-login-form') as HTMLInputElement);
|
||||
});
|
||||
|
||||
const setSetting = (key: string, value: string) => {
|
||||
|
Reference in New Issue
Block a user