contao/issues — Issue #9: ModuleRegistration: Check for unique fields
Author: importer
Created: 2011-11-23 18:49:57+00:00
State: closed
Labels: Defect, Invalid, registration

http://dev.typolight.org/browser/trunk/system/modules/registration/ModuleRegistration.php#L173

the check for "uniqueness" is done against the DCA. In ModulePersonalData it is done against the $arrData array, which is copied from DCA.

I've noticed this because I use a custom registration module, and set "unique" inside the module for the e-mail field.

I'd suggest use the same method ($arrData preferred) in both modules.

--- _Originally created by andreas.schempp on August 25th, 2008, at 10:14am (ID 9)_