mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-20 16:08:44 +00:00
missing =
This commit is contained in:
parent
bac99a8815
commit
db2f0435cd
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