From 37640d9fc361a89602c9e61768a2cdc3b02e58ce Mon Sep 17 00:00:00 2001 From: bscheshirwork Date: Thu, 20 Sep 2018 16:50:05 +0300 Subject: [PATCH 1/2] rm check for unexcepted property allowPasswordRecovery --- src/User/resources/views/admin/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/User/resources/views/admin/index.php b/src/User/resources/views/admin/index.php index e4f8b71..ed87cd9 100644 --- a/src/User/resources/views/admin/index.php +++ b/src/User/resources/views/admin/index.php @@ -152,7 +152,7 @@ $module = Yii::$app->getModule('user'); return null; }, 'reset' => function ($url, $model) use ($module) { - if(!$module->allowPasswordRecovery && $module->allowAdminPasswordRecovery) { + if($module->allowAdminPasswordRecovery) { return Html::a( '', ['/user/admin/password-reset', 'id' => $model->id], From 81ccbf3c83599013c26a5d5349c5ee45d61a3ddf Mon Sep 17 00:00:00 2001 From: bscheshirwork Date: Thu, 20 Sep 2018 17:05:37 +0300 Subject: [PATCH 2/2] :book: --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5ba762..cbc45f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ - Enh: Add controller module class reference (TonisOrmisson) - Enh: Replace the deprecated InvalidParamException in ClassMapHelper (TonisOrmisson) - Fix #242: Add POST filter for `admin/force-password-change` action (bscheshirwork) + - Fix #252: Delete check for unexpected property `allowPasswordRecovery` for resend email by admin (bscheshirwork) ## 1.1.4 - February 19, 2018 - Enh: Check enableEmailConfirmation on registration (faenir)