RegistrationTool.py not accepting a valid email address as a login
Bug #835388 reported by
Gordon Adams
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope CMF buildout |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Came across this bug herehttp:
The use of valid characters like apostrophes in first part of email address is failing validation so cannot be used as userids for email-based login.
To post a comment you must log in.
This is not a bug in the CMF:
- The regex pattern for determining valid member IDs is already a
configurable property of the tool, set via the ZMI.
- The default pattern used in the CMF, '^[A-Za- z][A-Za- z0-9_]* $', doesn't
allow e-mail addresses at all (no periods, no at-sign, etc.). Given that
e-mail address are already allowed as member IDs in Plone, the Plone
configuration of the registration tool must be where the pattern is set.