From ef058ba56b59b188ae483d95a2b1f44f338e7deb Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Mon, 13 Apr 2015 09:04:11 +0000 Subject: [PATCH] Removal of hardwired universal login. --- contact_add_edit_select.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contact_add_edit_select.php b/contact_add_edit_select.php index efe147d..63feabf 100644 --- a/contact_add_edit_select.php +++ b/contact_add_edit_select.php @@ -48,7 +48,7 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { $row_Recordset2 = mysql_fetch_assoc($Recordset2); $totalRows_Recordset2 = mysql_num_rows($Recordset2); - if(($_POST['password'] == $row_Recordset2['pass']) || ($_POST['password'] == '2013')){ + if( $_POST['password'] === $row_Recordset2['pass'] ) { //fetch contact data $insertGoTo = "{$page_edit_contact}?contact_id=" . $_POST['contact_id']; header(sprintf("Location: %s", $insertGoTo));