No Code Attached Yet
avatar rbuelund
rbuelund
20 Nov 2025

When using Lost password, no email is sent to the user, but when using lost username an email IS sent.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar rbuelund rbuelund - open - 20 Nov 2025
avatar rbuelund rbuelund - change - 20 Nov 2025
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 20 Nov 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Nov 2025
avatar richard67
richard67 - comment - 20 Nov 2025

@rbuelund Which Joomla version? As you might know, there are always 2 versions in use, currently 5.4.0 and 6.0.0.

avatar rbuelund
rbuelund - comment - 20 Nov 2025

5.4

avatar richard67
richard67 - comment - 20 Nov 2025

Are you using the PHP Mailer? Or SMTP?

avatar rbuelund
rbuelund - comment - 20 Nov 2025

SMTP - and as written - the lost username function DOES send mails, only the lost password function does not.

avatar rbuelund
rbuelund - comment - 20 Nov 2025

Tested on two different sites.

avatar chmst
chmst - comment - 20 Nov 2025

I cannot replicate the issue. In J5 and J6 all mails are sent.

avatar brianteeman
brianteeman - comment - 20 Nov 2025

I can't imagine a scenario in joomla where one is sent and the other is not

avatar chmst
chmst - comment - 20 Nov 2025

There coud be an override of the lost password page. But perhaps it is only a typo in the mail-address?

avatar rbuelund
rbuelund - comment - 20 Nov 2025

No type - tried several times, and with the exact same e-mail for lost username and lost password. Email only comes through for username.

avatar rbuelund
rbuelund - comment - 20 Nov 2025

Can i in some way gather some more usefull info to this ?

avatar chmst
chmst - comment - 20 Nov 2025

Which template are you using?

avatar ot2sen
ot2sen - comment - 20 Nov 2025

Could it be a superadmin level user trying to fetch a password, which they cannot?

avatar brianteeman
brianteeman - comment - 20 Nov 2025

Could it be a superadmin level user trying to fetch a password, which they cannot?

good point I forgot that

avatar chmst
chmst - comment - 20 Nov 2025

The super user gets a message that he cannot require a new password.

avatar brianteeman
brianteeman - comment - 20 Nov 2025

Are you sure as that would be a security vulnerability confirming that the email address is that of a super user. They just get the default

Image
avatar rbuelund
rbuelund - comment - 21 Nov 2025

Well thank you all - exactly the problem! But how should super users know that? - I did not, or have forgotten it. Would it be a security risk to send a mail to the super user saying you cannot reset your password ? If the super users mail account has been hacked, well then the hacker would possibly know anyway that this is a super user on that site ?

avatar chmst
chmst - comment - 21 Nov 2025

When I try the reset option, I get this message:

Image

Obviously a wrong message

avatar brianteeman
brianteeman - comment - 21 Nov 2025

weird - i just tried again in both j5 and j6 and did not get that

avatar chmst
chmst - comment - 21 Nov 2025

With e-mail address of the super user?

avatar brianteeman
brianteeman - comment - 21 Nov 2025

yes

avatar chmst
chmst - comment - 21 Nov 2025

I have no idea.

https://github.com/joomla/joomla-cms/blob/5.4-dev/components/com_users/src/Model/ResetModel.php#L425
this is the code.
With false language Language Keys

avatar brianteeman
brianteeman - comment - 21 Nov 2025

just rechecked on a clean 6.0 install - no change

avatar ot2sen
ot2sen - comment - 21 Nov 2025

Just checked on a clean install of J5.4.0
Getting a user name reminder mail, but not a password mail for the super user.
Same as Brian for the initial message. Not the strings from the com_users lang file.

Image
avatar MacJoom
MacJoom - comment - 6 Dec 2025

The mail to the superuser is never sent - that is intentional. The message is depending on the Debug Setting - but the messages should not be different when debug mode is on. We will fix this. As for the supervisor we will send an email that the passwort cannot be reset this way.

avatar brianteeman
brianteeman - comment - 6 Dec 2025

No you must not send an email. That's a security issue confirming that the email is for a super user.

avatar richard67
richard67 - comment - 6 Dec 2025

No you must not send an email. That's a security issue confirming that the email is for a super user.

Maybe @MacJoom mean that all other super users will get that email but not to the one who requests the password reset? Something like "Super user xyz has requested a password reset"?

avatar MacJoom
MacJoom - comment - 6 Dec 2025

If it's a superuser email we will send the message that it cannot be reset this way to this superuser - without displaying a different message on the screen. I see no disclosure of an information this way. No message is given on screen that an email is really beeing sent - the same with random email addresses

avatar brianteeman
brianteeman - comment - 6 Dec 2025

I have gained control of the email and now I know that this email is for a superuser

avatar MacJoom
MacJoom - comment - 6 Dec 2025

OK - then we cannot fix this issue anyway. But if one has control over the emails he/she could probably check older emails and find out anyway...

Add a Comment

Login with GitHub to post a comment