Merge pull request #22888 from owncloud/use-custom-header
Use custom header
This commit is contained in:
commit
6f6d659f56
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