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 0a5f34ab80
commit ef66729980
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){