Pass token to LDAPtest

This commit is contained in:
snipe 2017-10-16 05:22:37 -07:00
parent 56cbc005ae
commit a98d94ccdc

View file

@ -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',