forked from verdnatura/hedera-web
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.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.406.55",
|
||||
"version": "1.406.56",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -132,7 +132,7 @@ abstract class Service {
|
|||
|
||||
$passwordHash = $db->getValue(
|
||||
'SELECT bcryptPassword FROM account.user
|
||||
WHERE `name` = #',
|
||||
WHERE active AND `name` = #',
|
||||
[$user]
|
||||
);
|
||||
|
||||
|
@ -143,7 +143,7 @@ abstract class Service {
|
|||
if (empty($passwordHash)) {
|
||||
$md5Password = $db->getValue(
|
||||
'SELECT `password` FROM account.user
|
||||
WHERE `name` = #',
|
||||
WHERE active AND `name` = #',
|
||||
[$user]
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue