Actions
Bug #66038
closedfelogin: reset password show success message even if mail isn't sent
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
-
Start date:
2015-03-26
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.6
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
Have a look at the following Code on GitHub: [[https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_6-2-11/typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php#L231-L246]]
I think $error
should be set to true
instead of NULL
. The return value from the method generateAndSendHash
should be changed too.
We had a setup and forgot to specify the storagePid
so the query return nothing, but the success-message were shown.
We could detect if the storagePid
is 0
and display a meaningful error message.
Actions