[icinga-checkins] icinga.org: icinga-web/master: * Fixed login reference problem on dispatch model

git at icinga.org git at icinga.org
Fri May 28 11:53:07 CEST 2010


Module: icinga-web
Branch: master
Commit: aee8b390732db8afa24b493a17021595dc4b8a6c
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=aee8b390732db8afa24b493a17021595dc4b8a6c

Author: Marius Hein <marius.hein at netways.de>
Date:   Fri May 28 11:52:31 2010 +0200

* Fixed login reference problem on dispatch model

---

 .../AppKit/models/Auth/DispatchModel.class.php     |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/app/modules/AppKit/models/Auth/DispatchModel.class.php b/app/modules/AppKit/models/Auth/DispatchModel.class.php
index 1768a5c..7eb4e99 100755
--- a/app/modules/AppKit/models/Auth/DispatchModel.class.php
+++ b/app/modules/AppKit/models/Auth/DispatchModel.class.php
@@ -80,7 +80,6 @@ class AppKit_Auth_DispatchModel extends AppKitBaseModel implements AgaviISinglet
 	}
 	
 	public function &doAuthenticate($username, $password) {
-		
 		/**
 		 * 1. Find the user
 		 * 2. If not found, try to import
@@ -91,7 +90,6 @@ class AppKit_Auth_DispatchModel extends AppKitBaseModel implements AgaviISinglet
 		
 		if ($user === null) {
 			$user = $this->importUser($username);
-			return false;
 		}
 		
 		if ($user instanceof NsmUser && $user->user_id>0) {





More information about the icinga-checkins mailing list