mirror of
https://github.com/friendica/friendica
synced 2025-04-27 03:50:11 +00:00
CSRF-Protection in the group-related form (creating, renaming and dropping a group, adding/removing members from it)
This commit is contained in:
parent
72894b0e91
commit
453b5b46a3
5 changed files with 29 additions and 10 deletions
|
@ -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');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue