I’d like to write an extension to allow the “forgot password” functionality to use the username in addition to the email address.
This would be called from a custom logon form that would be validated to require the name. Several of the site’s members are spouses who share the same email address, but have their own membership.
I imported all the usernames with the import utilities so everyone must use “forgot password” for initial membership. As is, it would be a first-come, first-served situation followed by people changing other people’s passwords.
I see about where the functions are in cp.login.php, but I don’t see any hooks there. I hesitate to hack the core, but it looks like it’s either that or copy the code to my own class.
Any help would be appreciated.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.