Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Add include Hook for to load and update user info
Browse files Browse the repository at this point in the history
  • Loading branch information
c12simple committed Dec 1, 2015
1 parent 0e52801 commit 9ea960a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/plugins/core.conf/class.AbstractConfDriver.php
Expand Up @@ -401,6 +401,8 @@ public function createUserObject($userId)
}
AuthService::updateAutoApplyRole($abstractUser);
AuthService::updateAuthProvidedData($abstractUser);
$args = array(&$abstractUser);
AJXP_Controller::applyIncludeHook("include.user.updateUserObject", $args);
$kvCache->save("pydio:user:".$userId, $abstractUser);
return $abstractUser;
}
Expand Down

0 comments on commit 9ea960a

Please sign in to comment.