corrade-http-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 50  →  ?path2? @ 51
/instantMessage/deleteConversation.php
@@ -17,6 +17,14 @@
###########################################################################
## INTERNALS ##
###########################################################################
 
# CRSF.
session_start();
if (empty($_POST['token']) || !hash_equals($_SESSION['token'], $_POST['token'])) {
http_response_code(403);
die('Forbidden.');
}
 
# Bail if "firstname" or "lastname" are blank.
if(!isset($_POST['firstname']) ||
!isset($_POST['lastname'])) return;