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

eZ debug

Timing: Jan 18 2025 19:15:12
Script start
Timing: Jan 18 2025 19:15:12
Module start 'content'
Timing: Jan 18 2025 19:15:12
Module end 'content'
Timing: Jan 18 2025 19:15:12
Script end

Main resources:

Total runtime0.0192 sec
Peak memory usage4,096.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0108 588.0313180.8281
Module start 'content' 0.01080.0044 768.859493.8984
Module end 'content' 0.01520.0040 862.757870.7031
Script end 0.0192  933.4609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002613.4233120.0002
Check MTime0.00115.8743120.0001
Mysql Total
Database connection0.00126.437110.0012
Mysqli_queries0.003417.926740.0009
Looping result0.00000.140120.0000
Template Total0.003719.210.0037
Template load0.00073.795610.0007
Template processing0.003015.348410.0030
Override
Cache load0.00052.729510.0005
General
dbfile0.00031.3177100.0000
String conversion0.00000.035930.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs