[BUGFIX] felogin: Invalid action url in changePassword form 21/22721/5
authorStano Paška <stano.paska@gmail.com>
Tue, 30 Jul 2013 14:46:54 +0000 (16:46 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Mon, 20 Jul 2015 10:45:18 +0000 (12:45 +0200)
Resolves: #50141
Releases: master, 6.2
Change-Id: I26a6215523ed409cbac8fe0f4659102d0b7ca365
Reviewed-on: http://review.typo3.org/22721
Reviewed-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php

index 9307160..6de6c3e 100644 (file)
@@ -373,10 +373,10 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
                                }
                                if (!$done) {
                                        // Change password form
-                                       $markerArray['###ACTION_URI###'] = $this->pi_getPageLink($this->frontendController->id, '', array(
+                                       $markerArray['###ACTION_URI###'] = $this->getPageLink('', array(
                                                $this->prefixId . '[user]' => $user['uid'],
                                                $this->prefixId . '[forgothash]' => $piHash
-                                       ));
+                                       ), TRUE);
                                        $markerArray['###LEGEND###'] = $this->pi_getLL('change_password', '', TRUE);
                                        $markerArray['###NEWPASSWORD1_LABEL###'] = $this->pi_getLL('newpassword_label1', '', TRUE);
                                        $markerArray['###NEWPASSWORD2_LABEL###'] = $this->pi_getLL('newpassword_label2', '', TRUE);