diff --git a/hook.php b/hook.php index fd7d721..6ac6713 100644 --- a/hook.php +++ b/hook.php @@ -284,6 +284,7 @@ function plugin_mydashboard_install() $config->initConfig(); } PluginMydashboardProfile::initProfile(); + PluginMydashboardProfile::createFirstAccess($_SESSION['glpiactiveprofile']['id']); return true; }