A free open source IT asset/license management system
Pass token to LDAPtest
snipea98d94ccdc78
diff --git a/resources/views/settings/ldap.blade.php b/resources/views/settings/ldap.blade.phpindex 4bdc3f03b9..84f046a3c5 100644--- a/resources/views/settings/ldap.blade.php+++ b/resources/views/settings/ldap.blade.php@@ -381,6 +381,10 @@$.ajax({url: '{{ route('api.settings.ldaptest') }}',type: 'GET',+ headers: {+ "X-Requested-With": 'XMLHttpRequest',+ "X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr('content')+ },data: {},dataType: 'json',