summaryrefslogtreecommitdiffstats
path: root/public/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/index.js')
-rw-r--r--public/js/index.js13
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 () {