mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 10:21:38 -04:00
Removal of hardwired universal login.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user