aboutsummaryrefslogtreecommitdiffstats
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:07:11 +0100
commitef6672998026952c40d97e7fc22c87a469c6c28a (patch)
tree3abc526b8d4482211364a0b4e29822a50a69fe14
parent0a5f34ab8005cd0bfc8302cefe72a9a24f86e451 (diff)
downloadnextcloud-server-ef6672998026952c40d97e7fc22c87a469c6c28a.tar.gz
nextcloud-server-ef6672998026952c40d97e7fc22c87a469c6c28a.zip
Use custom header
PHP in CGI mode eats the Authorization header => :bomb:
-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){