This commit is contained in:
Yuri Kuznetsov
2020-08-17 17:52:01 +03:00
parent 9c28933882
commit 04c29294d6
3 changed files with 12 additions and 5 deletions
@@ -121,7 +121,9 @@ class LDAP extends Espo
}
}
if (!$password || $username == '**logout') return;
if (!$password || $username == '**logout') {
return Result::fail();
}
if ($isPortal) {
$useLdapAuthForPortalUser = $this->utils->getOption('portalUserLdapAuth');
+8 -3
View File
@@ -31,10 +31,15 @@ namespace Espo\Core\ORM;
use Espo\Core\Interfaces\Injectable;
use Espo\ORM\EntityFactory;
use Espo\ORM\{
EntityFactory,
Repository\RDBRepository as RDBRepository,
};
/** @deprecated */
abstract class Repository extends \Espo\ORM\Repository implements Injectable
/**
* @deprecated
*/
abstract class Repository extends RDBRepository implements Injectable
{
protected $dependencyList = [];
+1 -1
View File
@@ -32,7 +32,7 @@ namespace Espo\ORM\DB\Query;
/**
* @deprecated
*/
abstract class Base extends Espo\ORM\QueryComposer\BaseQueryComposer
abstract class Base extends \Espo\ORM\QueryComposer\BaseQueryComposer
{
}