Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-10529

The password recovery always claim the email was sent

    XMLWordPrintable

Details

    Description

      Hello,

      in includes/ucp/ucp_remind.php :

       
      			$messenger->send($user_row['user_notify_type']);
       
      			meta_refresh(3, append_sid("{$phpbb_root_path}index.$phpEx"));
       
      			$message = $user->lang['PASSWORD_UPDATED'] . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">', '</a>');
      			trigger_error($message);
      

      No matter what actually happens, the user will have as a result a message saying that the email was sent, even if it was not.
      I think that the result of the message send should be checked in order to properly inform the user.

      I just ran into this after fixing this one : http://tracker.phpbb.com/browse/PHPBB3-10528

      Hope this helps.

      dcz

      Attachments

        Activity

          People

            CHItA CHItA
            dcz dcz [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: