diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/js/index.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js index f6060dc631..1bad33e08d 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -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 () { |