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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 06:10:45
Script start
Timing: Jan 31 2025 06:10:45
Module start 'layout'
Timing: Jan 31 2025 06:10:45
Module start 'content'
Timing: Jan 31 2025 06:10:46
Module end 'content'
Timing: Jan 31 2025 06:10:46
Script end

Main resources:

Total runtime1.0987 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.2500151.2266
Module start 'layout' 0.00550.0040 739.476636.6797
Module start 'content' 0.00951.0885 776.1563927.0781
Module end 'content' 1.09790.0007 1,703.23447.8281
Script end 1.0987  1,711.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00270.2437160.0002
Check MTime0.00110.1021160.0001
Mysql Total
Database connection0.00070.064610.0007
Mysqli_queries1.048995.4638540.0194
Looping result0.00050.0422520.0000
Template Total1.057596.220.5287
Template load0.00170.158420.0009
Template processing1.055796.087520.5279
Template load and register function0.00120.109310.0012
states
state_id_array0.00170.156810.0017
state_identifier_array0.00100.095220.0005
Override
Cache load0.00140.1298240.0001
Sytem overhead
Fetch class attribute can translate value0.00040.038820.0002
Fetch class attribute name0.00200.180740.0005
XML
Image XML parsing0.00350.322520.0018
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00470.4259220.0002
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs