Login bug fixed
This commit is contained in:
parent
7673a21baf
commit
1bbe94385b
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.406.56) stable; urgency=low
|
||||
hedera-web (1.406.57) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.406.56",
|
||||
"version": "1.406.57",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -188,10 +188,10 @@ abstract class Service {
|
|||
$user = $db->getValue('SELECT guestUser FROM config');
|
||||
$anonymousUser = TRUE;
|
||||
}
|
||||
|
||||
$db->query('CALL account.userLoginWithName(#)', [$user]);
|
||||
}
|
||||
|
||||
$db->query('CALL account.userLoginWithName(#)', [$user]);
|
||||
|
||||
$userChanged = !$anonymousUser
|
||||
&&(empty($_SESSION['user']) || $_SESSION['user'] != $user);
|
||||
|
||||
|
|
Loading…
Reference in New Issue