From b5684f464660789a6a1a466d8685bf0956bc9120 Mon Sep 17 00:00:00 2001 From: Axel Stohn Date: Tue, 6 Jun 2023 06:15:11 -0700 Subject: [PATCH] Reverting code to previous --- Controller/GrouperGroupsController.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Controller/GrouperGroupsController.php b/Controller/GrouperGroupsController.php index e2f9eea..2f2b294 100644 --- a/Controller/GrouperGroupsController.php +++ b/Controller/GrouperGroupsController.php @@ -66,13 +66,14 @@ public function beforeFilter() parent::beforeFilter(); // Perform a bit of a sanity check before we get any further - try { - $this->verifyRequestedId(); - } - catch(InvalidArgumentException $e) { - $this->Flash->set('You are currently not logged into COmanage, please log in.', array('key' => 'error')); - $this->redirect("/"); - } +// try { +// $this->verifyRequestedId(); +// } +// catch(InvalidArgumentException $e) { +// $this->Flash->set('You are currently not logged into COmanage, please log in.', array('key' => 'error')); +// $this->redirect("/"); +// } + // var_dump($this->Session); $this->Security->unlockedActions = array('removeSubscriber', 'addSubscriber'); @@ -809,7 +810,7 @@ function isAuthorized() // specific to the needs of I2. // BEGIN =============================================== - + $uid=$this->Session->read('Auth.User.co_person_id'); $username=$this->Session->read('Auth.User.username'); error_log("HUBING ================ " . $username);