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:
parent
109cf3d3c9
commit
ef058ba56b
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user