aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-18 17:54:12 -0700
committerfriendica <info@friendica.com>2012-03-18 17:54:12 -0700
commitc286681158a5c766d740f66cc70d1ef95c34b92a (patch)
treedc385ee21f8f0f55fe79984b68422d3f7a0007b4 /js
parent6aab641bfdbe958d8d292908fa8d84de13490d06 (diff)
parent453b5b46a370e3f01f2c948ac3eddf0bcd82c741 (diff)
downloadvolse-hubzilla-c286681158a5c766d740f66cc70d1ef95c34b92a.tar.gz
volse-hubzilla-c286681158a5c766d740f66cc70d1ef95c34b92a.tar.bz2
volse-hubzilla-c286681158a5c766d740f66cc70d1ef95c34b92a.zip
Merge pull request #147 from CatoTH/master
CSRF-Protection in the group-related form
Diffstat (limited to 'js')
-rwxr-xr-xjs/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/main.js b/js/main.js
index c20455ad1..babd2a1c3 100755
--- a/js/main.js
+++ b/js/main.js
@@ -486,9 +486,9 @@
return a.join('');
}
- function groupChangeMember(gid,cid) {
+ function groupChangeMember(gid, cid, sec_token) {
$('body .fakelink').css('cursor', 'wait');
- $.get('group/' + gid + '/' + cid, function(data) {
+ $.get('group/' + gid + '/' + cid + "?t=" + sec_token, function(data) {
$('#group-update-wrapper').html(data);
$('body .fakelink').css('cursor', 'auto');
});