Change username in Auth
| From: | Bob Bell | Date: | Sat, 03 Mar 2007 20:22:11 +0000 |
| Subject: | Change username in Auth | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-26713@lists.php.net to get a copy of this message | ||
I've just started using Auth, and it seems pretty nice. I'm using it in conjunction with MDB2. However, I've got one thing that's puzzling me.
In my application of Auth, I'm using email addresses to login. Of course, that means that I need to allow for users to update there email addresses. However, I don't see method in Auth that allows for a username change. I could remove the old username and add the new username, but then I force the user to re-enter their password.
For now, I'm simply updating the username using database operations. However, I was wondering if there was a way to do it through Auth that I'm missing.
-- Bob