diff options
| author | Björn Geiger | 2011-03-24 15:05:30 +0100 |
|---|---|---|
| committer | Björn Geiger | 2011-03-24 15:05:30 +0100 |
| commit | c6ca00f9b31376b3fcb9917f6be0254eaa7a981f (patch) | |
| tree | 28ade87e8817faddbae309735ec004d85854dab9 /application/modules/user/controllers/AuthController.php | |
| parent | PersonController im user Module (diff) | |
| download | pbs2-c6ca00f9b31376b3fcb9917f6be0254eaa7a981f.tar.gz pbs2-c6ca00f9b31376b3fcb9917f6be0254eaa7a981f.tar.xz pbs2-c6ca00f9b31376b3fcb9917f6be0254eaa7a981f.zip | |
MembershipSelect nach Login
Diffstat (limited to 'application/modules/user/controllers/AuthController.php')
| -rw-r--r-- | application/modules/user/controllers/AuthController.php | 12 |
1 files changed, 2 insertions, 10 deletions
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."; |
