benedmunds/CodeIgniter-Ion-Auth — Issue #145: email_check() on update() -ing user
Author: dedurus
Created: 2011-12-22 02:59:29+00:00
State: open

Hi

As i can see inside the ion_auth_model(), there's an easy way to check for duplicates for email column if identity is set to email. The error event triggers are working fine.
But if I use an username as an identity column, there's no additional check for possible duplications on email DB column inside register() and update() methods.
This leads to breaking "Forgotten Pass" feature, since email duplicates are allowed.

Is there an easy way to accomplish this?
Am I missing something?