Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2
#69

[eluser]uptown[/eluser]
Thanks for the quick responses. Your auth system looks great. I'm planning on tweaking a few things. The biggest problem I see is how you handle the value put into the username field. Right now you merge the first and last names into the username field. The problem occurs when you have two users have the same first and last names. Your code appends a counter onto the end of the name, essentially corrupting your own data. Seems like a less-than ideal way of handling the collision.

For my solution, I'm going to modify the code to remove the username field (or maybe leave it around as a non-unique 'Display Name' for use on the website). Then I'm planning to add separate fields for first and last names. I'll enforce uniqueness of the email address upon account creation since that's what's being used as the actual "username" for authentication.

Great auth system though .... very easy to understand and modify.


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 03-18-2010, 03:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB