From c142c466c6cc2efaec799334bbf36b514d1d1055 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 31 Jan 2011 13:55:22 +0100 Subject: authController geƤnder --- application/controllers/AuthController.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'application/controllers/AuthController.php') diff --git a/application/controllers/AuthController.php b/application/controllers/AuthController.php index 0a2c8c0..070c2e8 100644 --- a/application/controllers/AuthController.php +++ b/application/controllers/AuthController.php @@ -26,8 +26,13 @@ class AuthController extends Zend_Controller_Action $result = $adapter->authenticate(); if ($result->isValid()) { - //$this->_helper->FlashMessenger('Erfolgreich angemeldet'); - $this->_redirect('/'); + //$this->_helper->FlashMessenger('Erfolgreich angemeldet'); + $this->_userNamespace->username = 'testt'; + + Zend_Debug::dump($_SESSION, $label="_SESSION nach Login: ", $echo=true); + Zend_Debug::dump($this->_userNamespace, $label="userNamespace: ", $echo=true); + $this->view->loginStatus = "Eingeloggt als " . $this->_userNamespace->username; + #$this->_redirect('/'); return; } else { //$this->_helper->FlashMessenger('E-Mail oder Passwort falsch'); -- cgit v1.2.3-55-g7522