diff --git a/gulliver/system/class.bootstrap.php b/gulliver/system/class.bootstrap.php index effe5f3af..a4faf6502 100644 --- a/gulliver/system/class.bootstrap.php +++ b/gulliver/system/class.bootstrap.php @@ -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;