diff --git a/xapi.php b/xapi.php index 3ceea0d..8d02608 100644 --- a/xapi.php +++ b/xapi.php @@ -100,7 +100,7 @@ public function onPluginsInitialized() { $this->grav['debugger']->addMessage($this->grav['user']['ldap']['sAMAccountName']); $this->actor = $this->prepareAgent($this->user); - $this->grav['debugger']->addMessage($this->user->ldap->sAMAccountName); + $this->grav['debugger']->addMessage($this->user['ldap']['sAMAccountName']); // SET LRS credentials based on user's group profile }