@@ -250,7 +250,7 @@ class SiteController extends FrontendController | |||
public function actionSignup() | |||
{ | |||
$model = new SignupForm(); | |||
if ($model->load(Yii::$app->request->post())) { | |||
/*if ($model->load(Yii::$app->request->post())) { | |||
$user = $model->signup(); | |||
if ($user) { | |||
if (Yii::$app->getUser()->login($user)) { | |||
@@ -266,7 +266,7 @@ class SiteController extends FrontendController | |||
} | |||
} | |||
} | |||
} | |||
}*/ | |||
// liste des établissements disponibles | |||
$producersArray = Producer::getProducerPopulateDropdown(); |
@@ -49,9 +49,12 @@ $this->setMeta('description', 'Inscrivez-vous afin de profiter des fonctionnalit | |||
$this->params['breadcrumbs'][] = $this->title; | |||
?> | |||
<div class="site-signup"> | |||
<h1 class="title-system-order"><span class="glyphicon glyphicon-user"></span> <?= Html::encode($this->title) ?></h1> | |||
<div class="row"> | |||
<div class="alert alert-warning">Inscription momentanément désactivée</div> | |||
<!--<div class="row"> | |||
<div class="col-lg-5"> | |||
<?php if(YII_ENV == 'demo'): ?> | |||
<div class="alert alert-warning"> | |||
@@ -112,7 +115,7 @@ $this->params['breadcrumbs'][] = $this->title; | |||
</div> | |||
</div> | |||
</div>--> | |||
</div> | |||
<!-- CGV --> |