From c6ca00f9b31376b3fcb9917f6be0254eaa7a981f Mon Sep 17 00:00:00 2001 From: Björn Geiger Date: Thu, 24 Mar 2011 15:05:30 +0100 Subject: MembershipSelect nach Login --- application/modules/user/controllers/AuthController.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'application/modules/user/controllers/AuthController.php') diff --git a/application/modules/user/controllers/AuthController.php b/application/modules/user/controllers/AuthController.php index 4bfc093..df45b90 100644 --- a/application/modules/user/controllers/AuthController.php +++ b/application/modules/user/controllers/AuthController.php @@ -15,15 +15,7 @@ class User_AuthController extends Zend_Controller_Action public function indexAction() { - $membershipID = $this->_request->getParam('membershipID'); - if($membershipID == ''){ - $_SESSION['membershipID'] = 1; - } - else{ - $_SESSION['membershipID'] = $membershipID; - } - $pbsNotifier = new Pbs_Notifier(); - echo $pbsNotifier->notify("membershipID is set to ".$_SESSION['membershipID'],'ok'); + } public function loginAction() @@ -64,7 +56,7 @@ class User_AuthController extends Zend_Controller_Action $date = new DateTime(); $person->setLogindate($date->getTimestamp()); $this->personmapper->save($person); - $this->_redirect('/user/'); + $this->_helper->redirector('selectmembership', 'person'); return; } else { echo "Wrong Email or Password."; -- cgit v1.2.3-55-g7522