Saturday, January 16, 2010

Re: Only Email + Password ( without username )

On Jan 14, 2010, at 2:44 AM, nameless wrote:

> I want to use "id" as identifier for each user. So every user will
> have an url like this:
>
> http://www.example.com/827362
>
> I don't want username for my project.
> So, if I can't delete it, I think to insert email in username field
> and I don't want another identifier in username field as random
> strings :P
> In this case I don't have to create a custom backend.
> Is a good idea in your opinion ?
>

It's not a good idea, unless you want to do a lot of customization.

Username is unique, 30 characters, and only allows A-Za-z0-9_, no @ or -.

You are better off generating a random unique value for username and authenticating on email address.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate