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!
Sending "Password forgotten" mails does not work
Moderators: Developer, Contributor
Re: Sending "Password forgotten" mails does not work
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 