mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-11 01:40:13 +00:00
missing =
This commit is contained in:
parent
b443deb3ca
commit
591d5129d7
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class WebUsers extends Users{
|
||||||
public static function checkLoginMatch($value,$password){
|
public static function checkLoginMatch($value,$password){
|
||||||
|
|
||||||
$dbw = new DBLayer("web");
|
$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();
|
$row = $statement->fetch();
|
||||||
$salt = substr($row['Password'],0,2);
|
$salt = substr($row['Password'],0,2);
|
||||||
$hashed_input_pass = crypt($password, $salt);
|
$hashed_input_pass = crypt($password, $salt);
|
||||||
|
|
Loading…
Reference in a new issue