Welcome Guest, Not a member yet? Register   Sign In
Community auth password recovery form not sending email instruction
#2

Yes. By default the Examples controller is just to familiarize yourself with how Community Auth works, but not how CodeIgniter works, and during password recovery simply prints the instructions to the screen instead of sending an email. This is to reduce the amount of code written and keep your focus on learning Community Auth. On line 341 you see this:

Code:
$view_data['special_link'] = anchor(
     site_url( $link_uri, $link_protocol ),
     site_url( $link_uri, $link_protocol ),
     'target ="_blank"'
);

This "special_link" is sent to the view, examples/recover_form.php. This is of course not how you would do it for a real website, but handy when on a development environment and learning Community Auth.

In your own implementation of user recovery, you would put this "special_link" into an email, or maybe even a text message, and not print it to screen via a view.

I can see how this may be confusing, and will make sure to add something so it is clear for future users.
Reply


Messages In This Thread
RE: Community auth password recovery form not sending email instruction - by skunkbad - 03-11-2016, 08:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB