summaryrefslogtreecommitdiffstats
path: root/public/javascripts/application.js
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-09-23 13:28:36 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-09-23 13:28:36 +0000
commita9eaf563a5d24a2295f234453cec82811e908dd9 (patch)
tree30a50e943ea15d367d66db403adb0c0b6e10ad71 /public/javascripts/application.js
parent2ef5ce247a895f28fb731da2ece940164f8ca19d (diff)
downloadredmine-a9eaf563a5d24a2295f234453cec82811e908dd9.tar.gz
redmine-a9eaf563a5d24a2295f234453cec82811e908dd9.zip
Support self-signed LDAPS connections (#29606).
Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@17505 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts/application.js')
-rw-r--r--public/javascripts/application.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index c8a7df1fa..0239e0343 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -857,6 +857,12 @@ function keepAnchorOnSignIn(form){
return true;
}
+$(function ($) {
+ $('#auth_source_ldap_mode').change(function () {
+ $('.ldaps_warning').toggle($(this).val() != 'ldaps_verify_peer');
+ }).change();
+});
+
$(document).ready(setupAjaxIndicator);
$(document).ready(hideOnLoad);
$(document).ready(addFormObserversForDoubleSubmit);