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