mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-10 09:19:18 -04:00
verify csrf when installing/uninstalling modules
This commit is contained in:
@@ -26,6 +26,8 @@ class Admin_Modules_Controller extends Admin_Controller {
|
||||
}
|
||||
|
||||
public function save() {
|
||||
access::verify_csrf();
|
||||
|
||||
$changes->install = array();
|
||||
$changes->uninstall = array();
|
||||
foreach (module::available() as $module_name => $info) {
|
||||
|
||||
Reference in New Issue
Block a user