mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
user list: set pwg_token in POST data to user_list_backend.php
The POST data for the user data table request was empty, which could cause user data retrieval to error out with HTTP 403 due to missing the authentication token.
This commit is contained in:
1 parent
b9336d7117
commit
a235a2e229
1 file changed
+7
-1
@@ -615,7 +615,13 @@ jQuery(document).on('click', '.close-user-details', function(e) {
|
||||
processing: true,
|
||||
serverSide: true,
|
||||
serverMethod: "POST",
|
||||
ajaxSource: "admin/user_list_backend.php",
|
||||
"ajax": {
|
||||
"url" : "admin/user_list_backend.php",
|
||||
"type" : "POST",
|
||||
"data" : {
|
||||
"pwg_token" : pwg_token
|
||||
}
|
||||
},
|
||||
pagingType: "simple",
|
||||
language: {
|
||||
processing: "{/literal}{'Loading...'|translate|escape:'javascript'}{literal}",
|
||||
|
||||
Reference in new issue
Block a user