From f1d872e8499e3a8765d81dbc23376ab83c3a661c Mon Sep 17 00:00:00 2001 From: bscheshirwork Date: Fri, 14 Sep 2018 17:31:44 +0300 Subject: [PATCH 1/2] Set verbs filter for force-password-change action as POST --- src/User/Controller/AdminController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/User/Controller/AdminController.php b/src/User/Controller/AdminController.php index 8a7ec8b..61eb749 100644 --- a/src/User/Controller/AdminController.php +++ b/src/User/Controller/AdminController.php @@ -84,7 +84,8 @@ class AdminController extends Controller 'confirm' => ['post'], 'block' => ['post'], 'switch-identity' => ['post'], - 'password-reset' => ['post'] + 'password-reset' => ['post'], + 'force-password-change' => ['post'], ], ], 'access' => [ From 8b93963978808d073e437488aba4272736cf8756 Mon Sep 17 00:00:00 2001 From: bscheshirwork Date: Mon, 17 Sep 2018 11:05:11 +0300 Subject: [PATCH 2/2] Add line to changelog --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fab6c36..7e59d8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,8 @@ - Fix #195: UserCreateService: check if we're from web before setting flash message (maxxer) - Enh: Improvements to the admin responsive design (wautvda) - Enh: Replace the deprecated InvalidParamException in ClassMapHelper (TonisOrmisson) - + - Fix #242: Add POST filter for `admin/force-password-change` action (bscheshirwork) + ## 1.1.4 - February 19, 2018 - Enh: Check enableEmailConfirmation on registration (faenir) - Fix #154: Fix DateTime constructor with Unix timestamps (tonydspaniard)