add frontend changes

This commit is contained in:
2015-10-30 09:28:58 +01:00
parent 4a04c9efa2
commit e34b150d74
41 changed files with 1083 additions and 254 deletions

View File

@@ -88,11 +88,10 @@ class SiteController extends Controller
$model = new LoginForm();
if ($model->load(Yii::$app->request->post()) && $model->login()) {
return $this->goBack();
// return $this->goBack();
return $this->redirect(['account/select']);
} else {
return $this->render('login', [
'model' => $model,
]);
return $this->render('login', ['model' => $model,]);
}
}