Merge pull request #22888 from owncloud/use-custom-header

Use custom header
This commit is contained in:
Thomas Müller 2016-03-06 19:53:35 +01:00
commit 6f6d659f56

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){