Use custom header

PHP in CGI mode eats the Authorization header => 💣
This commit is contained in:
Lukas Reschke 2016-03-05 23:04:49 +01:00
parent a98f5c03dc
commit 4301e30741
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ $(document).ready(function(){
$.ajax({
url: OC.webroot+'/updater/',
headers: {
'Authorization': loginToken
'X-Updater-Auth': loginToken
},
method: 'POST',
success: function(data){