Merge pull request #9223 from vishdha/fix_ldap_check_v13

fix: on ldap_settings check login page gives error
This commit is contained in:
mergify[bot] 2020-01-10 07:47:43 +00:00 committed by GitHub
commit 3fa8a70c92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ login.bind_events = function() {
}
});
{% if ldap_settings.enabled %}
{% if ldap_settings and ldap_settings.enabled %}
$(".btn-ldap-login").on("click", function(){
var args = {};
args.cmd = "{{ ldap_settings.method }}";