Add OpenID configuration in install page (#2276)
This commit is contained in:
parent
e7653a67a1
commit
2c3a229a3c
7 changed files with 67 additions and 26 deletions
|
@ -311,9 +311,22 @@ function initInstall() {
|
|||
$('#offline-mode').checkbox('uncheck');
|
||||
}
|
||||
});
|
||||
$('#enable-openid-signin input').change(function () {
|
||||
if ($(this).is(':checked')) {
|
||||
if ( $('#disable-registration input').is(':checked') ) {
|
||||
} else {
|
||||
$('#enable-openid-signup').checkbox('check');
|
||||
}
|
||||
} else {
|
||||
$('#enable-openid-signup').checkbox('uncheck');
|
||||
}
|
||||
});
|
||||
$('#disable-registration input').change(function () {
|
||||
if ($(this).is(':checked')) {
|
||||
$('#enable-captcha').checkbox('uncheck');
|
||||
$('#enable-openid-signup').checkbox('uncheck');
|
||||
} else {
|
||||
$('#enable-openid-signup').checkbox('check');
|
||||
}
|
||||
});
|
||||
$('#enable-captcha input').change(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue