diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-03-05 23:04:49 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-03-05 23:07:11 +0100 |
commit | ef6672998026952c40d97e7fc22c87a469c6c28a (patch) | |
tree | 3abc526b8d4482211364a0b4e29822a50a69fe14 | |
parent | 0a5f34ab8005cd0bfc8302cefe72a9a24f86e451 (diff) | |
download | nextcloud-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.js | 2 |
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){ |