Closed amlopezalonso closed 1 year ago
Found a workaround copying resources/views/shared/_alert.php
one level up but I feel this should not have to be this way.
LATER: ah I noticed I have this in login.php
:
<?= $this->render('/_alert', ['module' => Yii::$app->getModule('user')]) ?>
So I just changed to:
<?= $this->render('/shared/_alert', ['module' => Yii::$app->getModule('user')]) ?>
So now the problem is fixed. Sorry for the noise.
What steps will reproduce the problem?
Basic template. Own
login.php
underviews/user/security
.Have:
under
"components"
inconfig/web.php
.What is the expected result?
Login form rendered.
What do you get instead?
Error 500: