1
0
mirror of https://github.com/fspc/Yellow-Bike-Database.git synced 2025-02-22 08:53:23 -05:00

Removal of hardwired universal login.

This commit is contained in:
Jonathan Rosenbaum 2015-04-13 09:04:11 +00:00
parent 109cf3d3c9
commit ef058ba56b

View File

@ -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));