Merged in bugfix/HOR-3686 (pull request #5934)
HOR-3686 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
a44222a328
@@ -2592,7 +2592,7 @@ class Bootstrap
|
||||
$hashTypePrevious = $passwordHashConfig['previous'];
|
||||
$acceptance = false;
|
||||
|
||||
if ($RBAC->loginWithHash()) {
|
||||
if ($RBAC != null && $RBAC->loginWithHash()) {
|
||||
//To enable compatibility with soap login
|
||||
if ((Bootstrap::hashPassword($pass, $hashTypeCurrent) == $userPass) || ($pass === $hashTypeCurrent . ':' . $userPass)) {
|
||||
$acceptance = true;
|
||||
|
||||
Reference in New Issue
Block a user