Skip to content

Commit

Permalink
Reverting code to previous
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel Stohn authored and Axel Stohn committed Jun 6, 2023
1 parent 8687172 commit b5684f4
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions Controller/GrouperGroupsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit b5684f4

Please sign in to comment.