Check the sesskey on the editor page
This commit is contained in:
parent
283c64f62e
commit
9b7426fb20
@ -56,7 +56,7 @@ if ($editing = boolval($serviceid)) {
|
||||
}
|
||||
|
||||
/* Processing of received data */
|
||||
if ($data = $mform->get_data()) {
|
||||
if (($data = $mform->get_data()) && confirm_sesskey()) {
|
||||
if ($editing) {
|
||||
$data->id = $serviceid;
|
||||
local_webhooks_update_record($data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user