Fork me on GitHub
Subscribe 3

Ticket #1147 (fixed bug)

Unable to change password using validation

  • Created: 2020-04-22 21:57:04
  • Reported by: Tom Fullen
  • Assigned to: quy
  • Milestone: 1.6
  • Component: authentication
  • Priority: high

Hello,

i have installed FluxBB and set the registration option to validate the registration via the sent email and random password which works just fine. However, when changing the password and saving it, logging out and then logging back in with the new password the login fails. Trying to login with the original random password will still work so it seems that the new password isn't being applied and saved.

Is there something I am missing  or not setting properly?

Version 1.5

Thanks for your attention.

History

Visman 2020-04-23 02:39:04

https://github.com/fluxbb/fluxbb/blob/m … n.php#L168
replace

pun_hash($new_password)

to

flux_password_hash($new_password)

Tom Fullen 2020-04-29 17:23:15

Thank you Visman. That worked.

quy 2021-03-05 16:23:00

  • Milestone set to 1.6.
  • Owner set to quy.

quy 2021-03-05 16:23:42

Commit 3e56a91 to fluxbb 1147-new-password-ha

Apply flux_password_hash to new password

#1147 The new password got saved using the wrong hash, thus logging in with the new password would fail.

Franz 2021-05-11 22:14:34

  • Status changed from open to fixed.

quy 2021-05-11 22:16:29

Commit 5a2f95a to fluxbb master

Apply flux_password_hash to new password (#235)

#1147 The new password got saved using the wrong hash, thus logging in with the new password would fail.