Browse Source

[Frontend] Inscription producteur : correctif redirection administration

feature/souke
Guillaume Bourgeois 1 year ago
parent
commit
3b090fd595
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frontend/views/site/signup_confirm.php

+ 1
- 1
frontend/views/site/signup_confirm.php View File

$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) {

Loading…
Cancel
Save