Skip to content

Commit

Permalink
Fix password handling when uploading plugins (#21278)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl authored Sep 19, 2023
1 parent d3095be commit cf256fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/CorePluginsAdmin/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function uploadPlugin()

if (!$this->passwordVerify->isPasswordCorrect(
Piwik::getCurrentUserLogin(),
Common::getRequestVar('confirmPassword', null, 'string')
\Piwik\Request::fromRequest()->getStringParameter('confirmPassword')
)) {
throw new \Exception($this->translator->translate('Login_LoginPasswordNotCorrect'));
}
Expand Down

0 comments on commit cf256fc

Please sign in to comment.