Password fixes
This commit is contained in:
parent
b1c5bb1b6a
commit
7673a21baf
|
@ -1,4 +1,4 @@
|
||||||
hedera-web (1.406.55) stable; urgency=low
|
hedera-web (1.406.56) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hedera-web",
|
"name": "hedera-web",
|
||||||
"version": "1.406.55",
|
"version": "1.406.56",
|
||||||
"description": "Verdnatura web page",
|
"description": "Verdnatura web page",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -132,7 +132,7 @@ abstract class Service {
|
||||||
|
|
||||||
$passwordHash = $db->getValue(
|
$passwordHash = $db->getValue(
|
||||||
'SELECT bcryptPassword FROM account.user
|
'SELECT bcryptPassword FROM account.user
|
||||||
WHERE `name` = #',
|
WHERE active AND `name` = #',
|
||||||
[$user]
|
[$user]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ abstract class Service {
|
||||||
if (empty($passwordHash)) {
|
if (empty($passwordHash)) {
|
||||||
$md5Password = $db->getValue(
|
$md5Password = $db->getValue(
|
||||||
'SELECT `password` FROM account.user
|
'SELECT `password` FROM account.user
|
||||||
WHERE `name` = #',
|
WHERE active AND `name` = #',
|
||||||
[$user]
|
[$user]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue