Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Custom Fields for Users Are Getting Cleared After Password Reset #44141

Closed
faisalshehzaddnc opened this issue Sep 26, 2024 · 3 comments
Closed

Comments

@faisalshehzaddnc
Copy link

Steps to reproduce the issue

  1. Go to the user login page on the Joomla site.
  2. Click on the "Forgot your password?" link and initiate the password reset process.
  3. Enter the required details (username or email) and submit the form.
  4. The user receives a password reset email.
  5. After resetting the password, log in with the new password.
  6. Go to the user profile and check the custom fields.

Expected result

  1. After the password reset, custom fields should retain their previous values, and no data should be lost.
  2. The user should be able to log in with the new password, and all custom fields should display correctly.

Actual result

  1. After the password reset is completed, the user’s custom fields are getting cleared and appear blank.
  2. Data entered in custom fields prior to the password reset is lost and is not showing on the admin panel for the user.

System information (as much as possible)

  1. Joomla Version: 5.1.3
  2. PHP Version: 8.2
  3. Database Version: MYSQL 8.0
  4. Web Server: Apache
  5. Browser: Chrome

Additional comments

  1. This issue persists even with custom fields set to non-mandatory.
  2. There are no errors displayed during the process.
  3. A clean Joomla installation has been tested, and the issue still occurs.
@Hackwar
Copy link
Member

Hackwar commented Sep 29, 2024

Hello @faisalshehzaddnc, thank you for reporting this. We are taking this very seriously, however I just tested this on a current 5.2 and I can not reproduce this. I did the following:

  1. Created a customfield named "test".
  2. Edited a non-Superadmin user and filled that field with "testvalue"
  3. In the frontend went through the password forgotten process
  4. Logged in with the users new password

Afterwards the value was still correctly in the database and was also displayed in the profile. You wrote that you had a clean install. Can you check that again? Did you retrieve the install package from joomla.org or is that a third party distribution? Do you maybe still have something else installed in the system? I'm going to ask someone else to test this again, but if we can't reproduce this, I'm going to close this issue again. (I added the tag "Release Blocker" after I read your issue and removed it again after I was unable to reproduce it.)

@alikon
Copy link
Contributor

alikon commented Sep 29, 2024

i can't reproduce too on current 5.2

@Hackwar
Copy link
Member

Hackwar commented Sep 29, 2024

Thank you @alikon. I'm going to close the issue then. @faisalshehzaddnc if you still have this issue and you are very sure that this is truely a bug in Joomla, please open a new issue.

@Hackwar Hackwar closed this as completed Sep 29, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants