diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-08-23 16:47:06 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-08-23 16:49:12 +0200 |
commit | 84d1e36ff9767714e59a6d59ccce3cbbfd5aeb85 (patch) | |
tree | caf13f5c07296300ea45a4b03ac5299cfed39dd2 /settings | |
parent | 510010e774c4019b7fc616c90085649abb7afac3 (diff) | |
download | nextcloud-server-84d1e36ff9767714e59a6d59ccce3cbbfd5aeb85.tar.gz nextcloud-server-84d1e36ff9767714e59a6d59ccce3cbbfd5aeb85.zip |
Remove requesttoken for avatars
First step for https://github.com/owncloud/core/issues/11915
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/personal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js index 9e4dd54090d..33746d22aca 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -321,7 +321,7 @@ $(document).ready(function () { var url = OC.generateUrl( '/avatar/{user}/{size}', {user: OC.currentUser, size: 1} - ) + '?requesttoken=' + encodeURIComponent(oc_requesttoken); + ); $.get(url, function (result) { if (typeof(result) === 'object') { $('#removeavatar').hide(); |