Пример #1
0
 /**
  * Render registration form
  *
  * @param User $user
  * @return void
  */
 public function newAction(\Gigabonus\Gbfemanager\Domain\Model\User $user = null)
 {
     // wenn angemeldet, redirect auf die Startseite
     if ($GLOBALS['TSFE']->fe_user->user) {
         MainHelper::redirect2Home();
         exit;
     }
     parent::newAction($user);
 }
Пример #2
0
 public function confirmCreateRequestAction($user, $hash, $status, $obj)
 {
     if ($user->getTxFemanagerConfirmedbyuser()) {
         MainHelper::redirect2DeleteProfilePage();
     }
 }