When using Lost password, no email is sent to the user, but when using lost username an email IS sent.
| Labels |
Removed:
?
|
||
| Labels |
Added:
No Code Attached Yet
|
||
5.4
Are you using the PHP Mailer? Or SMTP?
SMTP - and as written - the lost username function DOES send mails, only the lost password function does not.
Tested on two different sites.
I cannot replicate the issue. In J5 and J6 all mails are sent.
I can't imagine a scenario in joomla where one is sent and the other is not
There coud be an override of the lost password page. But perhaps it is only a typo in the mail-address?
No type - tried several times, and with the exact same e-mail for lost username and lost password. Email only comes through for username.
Can i in some way gather some more usefull info to this ?
Which template are you using?
Could it be a superadmin level user trying to fetch a password, which they cannot?
Could it be a superadmin level user trying to fetch a password, which they cannot?
good point I forgot that
The super user gets a message that he cannot require a new password.
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 ?
weird - i just tried again in both j5 and j6 and did not get that
With e-mail address of the super user?
yes
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
just rechecked on a clean 6.0 install - no change
@rbuelund Which Joomla version? As you might know, there are always 2 versions in use, currently 5.4.0 and 6.0.0.