Merge branch 'develop' of ssh://git@gogs.sd.lan:10022/SCORES/webservice.git into develop

This commit is contained in:
Claire DELBOS 2017-02-13 10:23:31 +01:00
commit 9b69570b99

View File

@ -107,7 +107,7 @@ class Scores_Auth_Adapter_Db implements Zend_Auth_Adapter_Interface
return new Zend_Auth_Result(Zend_Auth_Result::FAILURE_IDENTITY_NOT_FOUND, $identity,
array("Identifiant ou mot de passe invalid"));
} else {
$result = $stmt->fetch(PDO::FETC_OBJ);
$result = $stmt->fetch(PDO::FETCH_OBJ);
if ($this->_password == $result->password
|| $this->_password == md5($result->login.'|'.$result->password)) {