Update LoginWidget.php

Fix LoginWidget viewPath
This commit is contained in:
niciz
2023-01-30 14:20:09 +01:00
committed by GitHub
parent ab6a1d1a28
commit 1fd1febaa4

View File

@ -27,7 +27,7 @@ class LoginWidget extends Widget
public function run()
{
return $this->render(
$this->getModule()->$this->viewPath .'/widgets/login/form',
$this->getModule()->viewPath .'/widgets/login/form',
[
'model' => Yii::createObject(LoginForm::class),
]