@@ -49,7 +49,7 @@ $this->params['breadcrumbs'][] = $this->title; | |||
$userManager = UserManager::getInstance(); | |||
$urlRedirect = null; | |||
if($userManager->isProducer($user)) { | |||
$urlRedirect = $this->getUrlManagerBackend()->createAbsoluteUrl(['site/index']); | |||
$urlRedirect = $this->getUrlManagerBackend()->createAbsoluteUrl(['dashboard/index']); | |||
$redirectLabel = "Redirection vers votre tableau de bord ..."; | |||
} | |||
elseif($producerRedirect) { |