[Zope-CMF] Preventing same username in different caps (bz vrs BZ)

Dieter Maurer dieter@handshake.de
Fri, 15 Nov 2002 20:34:39 +0100


BZ writes:
 > Does anyone have a quick/easy way to prevent two users from signing up as
 > "User" and "user" or "Guy" and "GUY"?
I see two options:

  *  you normalize the login name (e.g. to all lowercase)

  *  you put the login names into a relational database
     and check case insensitively during registration


Dieter