[TYPO3-core] RFC #13506: Bug: Function changePassword does not work, when hitting 'enter' in change password form
Christian Futterlieb
christian at futterlieb.ch
Thu May 20 11:07:23 CEST 2010
Hi,
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=13506
Branches:
TYPO3_4-3 & TYPO3_4-2 & trunk
Problem:
When no value="" attribute is specified for the submit button of the
change password form (e.g. <input type="image" src="submit.png"
alt="###SEND_PASSWORD###" name="tx_felogin_pi1[changepasswordsubmit]"
/>), its _POST value will be '0', when the form was sent by hitting
'ENTER' instead of mouse-clicking the button.
The method tx_felogin_pi1->changePassword() checks the _POST value only
with if() and the request will be ignored in above case.
Solution:
Check the passed value with isset(),
Notes:
I'm not sure about which branch(es) to suggest. The check in
changePassword() is the same since it's introduction
(http://bugs.typo3.org/view.php?id=10017)
Regards
Christian Futterlieb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 13506.diff
Type: text/x-patch
Size: 786 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100520/f8b49e4a/attachment.bin>
More information about the TYPO3-team-core
mailing list