summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-03-05 23:04:49 +0100
committerLukas Reschke <lukas@owncloud.com>2016-03-05 23:04:49 +0100
commit4301e307419bedc283f8b430f4237745d018231b (patch)
tree8955719e69d7ffc956c403592cd641a63d49539b /apps/updatenotification/js
parenta98f5c03dc4e60dcd511c4b50639878e531c5119 (diff)
downloadnextcloud-server-4301e307419bedc283f8b430f4237745d018231b.tar.gz
nextcloud-server-4301e307419bedc283f8b430f4237745d018231b.zip
Use custom header
PHP in CGI mode eats the Authorization header => :bomb:
Diffstat (limited to 'apps/updatenotification/js')
-rw-r--r--apps/updatenotification/js/admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/updatenotification/js/admin.js b/apps/updatenotification/js/admin.js
index 2fc8c9d99b1..3bc5dd21527 100644
--- a/apps/updatenotification/js/admin.js
+++ b/apps/updatenotification/js/admin.js
@@ -24,7 +24,7 @@ $(document).ready(function(){
$.ajax({
url: OC.webroot+'/updater/',
headers: {
- 'Authorization': loginToken
+ 'X-Updater-Auth': loginToken
},
method: 'POST',
success: function(data){