mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 08:44:10 +02:00
parent
49cf62a9dc
commit
0c69dbf482
@ -188,7 +188,7 @@ class Manager
|
|||||||
{
|
{
|
||||||
$type = ucwords(strtolower($backendConfig->backend));
|
$type = ucwords(strtolower($backendConfig->backend));
|
||||||
if (!$type) {
|
if (!$type) {
|
||||||
Logger::warn('No type given...');
|
Logger::warn('Backend has no type configured. (e.g. backend=ldap)');
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
@ -214,7 +214,8 @@ class Manager
|
|||||||
* in the current session
|
* in the current session
|
||||||
*
|
*
|
||||||
* @return Boolean true on success, otherwise false
|
* @return Boolean true on success, otherwise false
|
||||||
**/
|
* @throws ConfigError
|
||||||
|
*/
|
||||||
public function authenticate(Credentials $credentials, $persist = true)
|
public function authenticate(Credentials $credentials, $persist = true)
|
||||||
{
|
{
|
||||||
if (!$this->userBackend) {
|
if (!$this->userBackend) {
|
||||||
|
@ -93,7 +93,6 @@ class DbStore implements LoadInterface, FlushObserverInterface
|
|||||||
public function setDbAdapter(Zend_Db_Adapter_Abstract $db)
|
public function setDbAdapter(Zend_Db_Adapter_Abstract $db)
|
||||||
{
|
{
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
$this->db->getProfiler()->setEnabled(true);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user