MantisBT: master-1.2.x 1a1c9762

Author Committer Branch Timestamp Parent
dhx dhx master-1.2.x 2010-04-21 08:43 master-1.2.x bc978309
Affected Issues  0011394: Lost password not working, no message output, no mail
Changeset

Fix 0011394: No email sent for lost password process

When a MantisBT installation is setup without anonymous access enabled
auth_get_current_user_id() will fail, redirecting the user back to the
login screen.

This was due to a problem in user_pref_get() where it was assumed that a
user was logged in. For the lost password recovery step (with no
anonymous login), the lost password recovery step happens without any
user logged in.

mod - core/user_pref_api.php Diff File