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 #1

Updated by Gerrit Code Review almost 4 years ago

  • Status changed from New to Under Review
Actions #2

Updated by Gerrit Code Review almost 4 years ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66951

Actions #3

Updated by Gerrit Code Review almost 4 years ago

Patch set 2 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66951

Actions #4

Updated by Gerrit Code Review almost 4 years ago

Patch set 3 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66951

Actions #5

Updated by Gerrit Code Review almost 4 years ago

Patch set 4 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66951

Actions #6

Updated by Gerrit Code Review almost 4 years ago

Patch set 5 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66951

Actions #7

Updated by Gerrit Code Review almost 4 years ago

Patch set 6 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66951

Actions #8

Updated by Gerrit Code Review almost 4 years ago

Patch set 7 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66951

Actions #9

Updated by Gerrit Code Review almost 4 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67308

Actions #10

Updated by Stephan Großberndt almost 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF