mirror of
https://github.com/nextcloud/server.git
synced 2026-06-07 15:53:04 -04:00
Use custom header
PHP in CGI mode eats the Authorization header => 💣
This commit is contained in:
parent
0a5f34ab80
commit
ef66729980
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue