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:04:49 +0100 |
commit | 4301e307419bedc283f8b430f4237745d018231b (patch) | |
tree | 8955719e69d7ffc956c403592cd641a63d49539b /apps/updatenotification/js | |
parent | a98f5c03dc4e60dcd511c4b50639878e531c5119 (diff) | |
download | nextcloud-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.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){ |