diff --git a/CHANGELOG.md b/CHANGELOG.md index 802a099..e17f31b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## dev - Fix: use correct password recovery url in welcome mail and add functionality to plain text version of the mail (@eluhr) +- Fix: correct viewPath error in LoginWidget (niciz) ## 1.6.0 January 9, 2023 diff --git a/src/User/Widget/LoginWidget.php b/src/User/Widget/LoginWidget.php index df5729e..cf31aff 100644 --- a/src/User/Widget/LoginWidget.php +++ b/src/User/Widget/LoginWidget.php @@ -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), ]