summaryrefslogtreecommitdiffstats
path: root/settings/js/personal.js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-08-23 16:47:06 +0200
committerLukas Reschke <lukas@owncloud.com>2015-08-23 16:49:12 +0200
commit84d1e36ff9767714e59a6d59ccce3cbbfd5aeb85 (patch)
treecaf13f5c07296300ea45a4b03ac5299cfed39dd2 /settings/js/personal.js
parent510010e774c4019b7fc616c90085649abb7afac3 (diff)
downloadnextcloud-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/js/personal.js')
-rw-r--r--settings/js/personal.js2
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();