Skip to content
Snippets Groups Projects
Commit 4301e307 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Use custom header

PHP in CGI mode eats the Authorization header => :bomb:
parent a98f5c03
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ $(document).ready(function(){
$.ajax({
url: OC.webroot+'/updater/',
headers: {
'Authorization': loginToken
'X-Updater-Auth': loginToken
},
method: 'POST',
success: function(data){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment