@ -50,7 +50,7 @@ class SiteController extends Controller
$model = new LoginForm();
if ($model->load($_POST) && $model->login()) {
return $this->goHome();
return $this->goBack();
} else {
return $this->render('login', [
'model' => $model,
@ -60,7 +60,7 @@ class SiteController extends Controller