[BUGFIX] felogin: Invalid action url in changePassword form 24/41724/2
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 11:07:34 +0000 (13:07 +0200)
Resolves: #50141
Releases: master, 6.2
Change-Id: I26a6215523ed409cbac8fe0f4659102d0b7ca365
Reviewed-on: http://review.typo3.org/41724
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php

index 4a971af..68c7aac 100644 (file)
@@ -359,10 +359,10 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
                                }
                                if (!$done) {
                                        // Change password form
-                                       $markerArray['###ACTION_URI###'] = $this->pi_getPageLink($GLOBALS['TSFE']->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);