Use custom header
PHP in CGI mode eats the Authorization header => 💣
This commit is contained in:
parent
0a5f34ab80
commit
ef66729980
|
@ -24,7 +24,7 @@ $(document).ready(function(){
|
|||
$.ajax({
|
||||
url: OC.webroot+'/updater/',
|
||||
headers: {
|
||||
'Authorization': loginToken
|
||||
'X-Updater-Auth': loginToken
|
||||
},
|
||||
method: 'POST',
|
||||
success: function(data){
|
||||
|
|
Loading…
Reference in New Issue