diff options
author | plegall <plg@piwigo.org> | 2013-11-01 12:37:32 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2013-11-01 12:37:32 +0000 |
commit | 5f366b2ec61e344824ffcd087cab982da57ab69a (patch) | |
tree | e14489cd93e0eea9c9d04c5ea7b34f1b034e027f /admin/themes | |
parent | 2eae3907a7e94f82c43cd755fe0319d8bf4dac4e (diff) |
feature 2976: pwg.users.delete requires pwg_token
git-svn-id: http://piwigo.org/svn/trunk@25282 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes')
-rw-r--r-- | admin/themes/default/template/user_list.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/themes/default/template/user_list.tpl b/admin/themes/default/template/user_list.tpl index 6cd7de900..380ca6f20 100644 --- a/admin/themes/default/template/user_list.tpl +++ b/admin/themes/default/template/user_list.tpl @@ -14,6 +14,7 @@ var missingUsername = "{'Please, enter a login'|translate}"; var allUsers = [{$all_users}]; var selection = [{$selection}]; +var pwg_token = "{$PWG_TOKEN}"; {/footer_script} {footer_script}{literal} @@ -241,6 +242,7 @@ jQuery(document).ready(function() { return false; } method = 'pwg.users.delete'; + data.pwg_token = pwg_token; break; case 'group_associate': method = 'pwg.groups.addUser'; |