Re: [Zope-CMF] PAS: authenticateCredentials: check lowercase too?

2012-12-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (PAS stuff is OT for the CMF list. Please follow up on zope-...@zope.org or the equivalent Gmane newsgroup). On 12/27/2012 01:22 PM, Maurits van Rees wrote: > Hi, > > In Products/PluggableAuthService/plugins/ZODBUserManager.py I would > like to chec

[Zope-CMF] PAS: authenticateCredentials: check lowercase too?

2012-12-27 Thread Maurits van Rees
Hi, In Products/PluggableAuthService/plugins/ZODBUserManager.py I would like to check the lower case version of the passed login name as well: def authenticateCredentials( self, credentials ): login = credentials.get( 'login' ) password = credentials.get( 'password' )