Sending "Password forgotten" mails does not work

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Lizard
Posts: 2
Joined: 30 Mar 2010, 11:33

Sending "Password forgotten" mails does not work

Post by Lizard »

Hi all,

I have noticed a weird behaviour in our installation of MantisBT (1.2.0 stable, Linux): When a user clicks the "I forgot my password" link on the login page and enters his correct data, no email is sent, and the user is forwarded to the login page without any kind of error.

I have narrowed it down to the call of lang_push() in email_send_confirm_hash_url(), when I comment that one (and the corresponding lang_pop()) out, everything works as expected... the thing which confuses me though is that the lang_push() call seems to go through fine, it's only when it *returns* (quite normally, I would presume) that email_send_confirm_hash_url() suddenly borks and decides it doesn't want to do its job.

Perhaps anybody can shed some light on this behaviour, is this a bug, am I being stupid, what's going on?
Thanks for your responses!
atrol
Site Admin
Posts: 8580
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Sending "Password forgotten" mails does not work

Post by atrol »

Please use Search before posting and read the Manual
Lizard
Posts: 2
Joined: 30 Mar 2010, 11:33

Re: Sending "Password forgotten" mails does not work

Post by Lizard »

Great, thanks a lot! I've tried to find such a bug listing, but somehow failed to locate it... anyway, with the information provided I was able to fix it. Thanks again for taking the time to respond :)
Post Reply