diff --git a/debian/changelog b/debian/changelog index 391b4d0a..e037644d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.406.55) stable; urgency=low +hedera-web (1.406.56) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index e3073a99..d27b3d2d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.406.55", + "version": "1.406.56", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { diff --git a/web/service.php b/web/service.php index 492741c1..a9e45eb7 100644 --- a/web/service.php +++ b/web/service.php @@ -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] );