Check the sesskey on the recovery page
This commit is contained in:
parent
17ae01ab71
commit
283c64f62e
@ -40,7 +40,7 @@ $context = context_system::instance();
|
||||
$mform = new service_backup_form($PAGE->url);
|
||||
|
||||
/* Cancel processing */
|
||||
if ($mform->is_cancelled()) {
|
||||
if (($mform->is_cancelled()) && confirm_sesskey()) {
|
||||
redirect($managerservice);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user