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({
|
$.ajax({
|
||||||
url: OC.webroot+'/updater/',
|
url: OC.webroot+'/updater/',
|
||||||
headers: {
|
headers: {
|
||||||
'Authorization': loginToken
|
'X-Updater-Auth': loginToken
|
||||||
},
|
},
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
success: function(data){
|
success: function(data){
|
||||||
|
|
Loading…
Reference in New Issue