MantisBT: master 2e73850a

Author Committer Branch Timestamp Parent
dhx dhx master 2010-04-21 08:43 master 2b20ecf7
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