diff --git a/application/modules/auth/controllers/IndexController.php b/application/modules/auth/controllers/IndexController.php
index 79fd4811ba819971d24e8b715f595fe6d8bb82c6..278647163b7a5f9542324ef7cdcfbd6eaec5f543 100644
--- a/application/modules/auth/controllers/IndexController.php
+++ b/application/modules/auth/controllers/IndexController.php
@@ -70,7 +70,7 @@ class Auth_IndexController extends App_Controller_Action {
 		
 		$user = Auth_UserModel::findCurrentUser();
 		if (!$user) {
-			$user = Auth_UserModel::fetchNewFromLdap($username);
+			$user = Auth_UserModel::fetchNewFromLdap($auth->getIdentity());
 		}
 		
 		$this->_redirect('/');