Skip to content

Commit

Permalink
Change order of initialization in oidcUser class
Browse files Browse the repository at this point in the history
  • Loading branch information
sbreker committed Oct 10, 2024
1 parent 38392d9 commit eade58f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/arOidcPlugin/lib/oidcUser.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ class oidcUser extends myUser implements Zend_Acl_Role_Interface
*/
public function initialize(sfEventDispatcher $dispatcher, sfStorage $storage, $options = [])
{
parent::initialize($dispatcher, $storage, $options);

$this->logger = sfContext::getInstance()->getLogger();

if (null === $this->oidcClient) {
$this->setOidcClient(arOidc::getOidcInstance());
}

parent::initialize($dispatcher, $storage, $options);
}

/**
Expand Down

0 comments on commit eade58f

Please sign in to comment.