Merge pull request #242 from bscheshirwork/admin-controller-post-method-for-action

Set verbs filter for force-password-change action as POST
This commit is contained in:
Antonio Ramirez
2018-09-19 21:51:52 +02:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,8 @@
- Enh: Improvements to the admin responsive design (wautvda) - Enh: Improvements to the admin responsive design (wautvda)
- Enh: Add controller module class reference (TonisOrmisson) - Enh: Add controller module class reference (TonisOrmisson)
- Enh: Replace the deprecated InvalidParamException in ClassMapHelper (TonisOrmisson) - 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 ## 1.1.4 - February 19, 2018
- Enh: Check enableEmailConfirmation on registration (faenir) - Enh: Check enableEmailConfirmation on registration (faenir)
- Fix #154: Fix DateTime constructor with Unix timestamps (tonydspaniard) - Fix #154: Fix DateTime constructor with Unix timestamps (tonydspaniard)

View File

@ -86,7 +86,8 @@ class AdminController extends Controller
'confirm' => ['post'], 'confirm' => ['post'],
'block' => ['post'], 'block' => ['post'],
'switch-identity' => ['post'], 'switch-identity' => ['post'],
'password-reset' => ['post'] 'password-reset' => ['post'],
'force-password-change' => ['post'],
], ],
], ],
'access' => [ 'access' => [