Project

General

Profile

Actions

Bug #92960

closed

PHP Warning: hash_equals(): Expected known_string to be a string, null given when clicking forgot-link after setting password

Added by Stephan Großberndt almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
-
Start date:
2020-11-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If the felogin_forgotHash of the user record is empty a PHP Warning is logged to sys_log.

How to reproduce:
1. Have a fe_login with a valid user and the forgot password functionality enabled
2. Go to reset password, enter your username and receive an email with a link to set a new password
3. click the link and set a new password
4. click the link again

Now a PHP warning is logged to sys_log:

PHP Warning: hash_equals(): Expected known_string to be a string, null given in /typo3_src-9.5.23/typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php line 348
Actions

Also available in: Atom PDF