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