Forums / Setup & design / Users without login

Users without login

Author Message

Remco Wulms

Monday 31 January 2005 5:51:56 am

Hi,

I'm designing a site in eZp 3.5.0, and don't want to bother users with coming up with, and remembering, a login name. The only fields they have to provide upon registering are first name, last name, email address and password. Logging in should be possbible by providing email and password. However, I think removing the login field completely will cause eZp to stop working correctly. The email address field is also needed, since confirmation mails etc. need to be send to the user.

A solution may be to force the login and email address to be the same. I tried this by remove the login field from register.tpl, and modify setInformation() in kernel/classes/datatypes/ezuser/ezuser.php so it will set the login field of the user according to the provided email address.

Apart from the fact that this method is not preferable (modifying kernel code), it doesn't work satisfactory either. Users can register with an existing email address, to name a problem.

Is there anyone who knows a solution to solve this problem nicely? Maybe this is possible a lot easier in a way that I'm not aware of.

Thanks, Remco.