benedmunds/CodeIgniter-Ion-Auth — pull request #203 by Militis (2012-04-26 20:07:16+00:00)
Title: Error prevention (and useless little change in config)

I've added a check in forgot_password() to make sure we have a single user before doing anything. I was noticing a few errors crop up in my CI error logs about "call to undefined property" when someone tried to change their password and didn't supply the correct email address.

Similar change in Login, though this one is more for memory-management. If we don't have a single user on Login, we don't need to populate the result variable.

Last, but not least, I've changed the 'use_ci_email' config option to be lowercase. All the other boolean options are lowercase. :P

If I ever figure out how to prevent GitHub from automatically grabbing all of my commits (and any new ones I make between opening of the pull request and closing), I will be on Cloud Nine.