mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
missing =
This commit is contained in:
parent
1191a37816
commit
10cdf495ca
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class WebUsers extends Users{
|
|||
public static function checkLoginMatch($value,$password){
|
||||
|
||||
$dbw = new DBLayer("web");
|
||||
$statement = $dbw->execute("SELECT * FROM ams_user WHERE Login=:value OR Email:value", array('value' => $value));
|
||||
$statement = $dbw->execute("SELECT * FROM ams_user WHERE Login=:value OR Email=:value", array('value' => $value));
|
||||
$row = $statement->fetch();
|
||||
$salt = substr($row['Password'],0,2);
|
||||
$hashed_input_pass = crypt($password, $salt);
|
||||
|
|
Loading…
Reference in a new issue