Share » Forums » Developer » Users without login

Users without login

Users without login

Wednesday 09 February 2005 2:59:32 am - 4 replies

Author Message

Hans Melis

Wednesday 09 February 2005 3:39:00 am

Hi Remco,

I think your problem can be solved with just a few ini settings instead of modifying code and templates.

You can activate the following in site.ini (either global override or per siteaccess):

[UserSettings]
RequireUniqueEmail=true
AuthenticateMatch=email

This will force unique email addresses, and let users login using their email address instead of their username.

Hans
http://blog.hansmelis.be

Remco Wulms

Thursday 10 February 2005 12:09:15 am

Hi Hans,

I tried the lines in my site.ini (and cleared the cache), but still no unique email addresses are required. I can register a user with an email address that already exits in the system, and the registration is still successful.

Remco

Hans Melis

Thursday 10 February 2005 2:30:29 am

Remco,

I believe this is a bug. I couldn't find any code that checks for existing email addresses (even though the INI setting exists). Nor /user/register, nor the user datatype/class does any checking.

Hans
http://blog.hansmelis.be

Remco Wulms

Friday 11 February 2005 2:33:40 am

Hans,

I posted a bug report about the RequireUniqueEmail settings here: http://www.ez.no/bugs/view/6207

In the meantime, anyone got another solution for the original problem?

Remco

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu