[BUGFIX] felogin: Invalid action url in changePassword form
[Packages/TYPO3.CMS.git] / 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
                                }
                                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
                                                $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);
                                        $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);