mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-05 03:56:43 +08:00
#697 add install option
This commit is contained in:
@ -187,6 +187,16 @@ function initInstall() {
|
||||
$('#disable-gravatar').checkbox('check');
|
||||
}
|
||||
});
|
||||
$('#disable-registration input').change(function () {
|
||||
if ($(this).is(':checked')) {
|
||||
$('#enable-captcha').checkbox('uncheck');
|
||||
}
|
||||
});
|
||||
$('#enable-captcha input').change(function () {
|
||||
if ($(this).is(':checked')) {
|
||||
$('#disable-registration').checkbox('uncheck');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function initRepository() {
|
||||
|
Reference in New Issue
Block a user