Forums / Setup & design / two users with the same email? needed!

two users with the same email? needed!

Author Message

Alessandro Cipriani

Thursday 25 March 2004 9:33:11 am

hi all
in my site some customers need to have different profiles/userid but an unique email address. i've seen that registering a second user with an email already assigned to another user is impossible. is there a way to eliminate this check? yes i know, every confirmation/notification to a user will be sended to both, but this is not a problem

any hint?
best regards
alessandro

Bruce Morrison

Thursday 25 March 2004 3:52:27 pm

Hi Alessandro

Add the following to the site/override/site.ini.append.php

[UserSettings]
# Authenticate match, a list of authenticate fields to use
# Available are login and email
AuthenticateMatch=login
# Controls whether a unique email is required for all users,
# if set to true and email is set in AuthenticateMatch then only
# one email address instance is allowed on the site.
# Set to false to disable it
RequireUniqueEmail=false

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish