[Checkins] SVN: Products.PluggableAuthService/branches/maurits-login-transform/Products/PluggableAuthService/PluggableAuthService.py One more applyTransform.

Maurits van Rees cvs-admin at zope.org
Mon Jan 21 13:08:34 UTC 2013


Log message for revision 129067:
  One more applyTransform.

Changed:
  U   Products.PluggableAuthService/branches/maurits-login-transform/Products/PluggableAuthService/PluggableAuthService.py

-=-
Modified: Products.PluggableAuthService/branches/maurits-login-transform/Products/PluggableAuthService/PluggableAuthService.py
===================================================================
--- Products.PluggableAuthService/branches/maurits-login-transform/Products/PluggableAuthService/PluggableAuthService.py	2013-01-21 10:43:30 UTC (rev 129066)
+++ Products.PluggableAuthService/branches/maurits-login-transform/Products/PluggableAuthService/PluggableAuthService.py	2013-01-21 13:08:33 UTC (rev 129067)
@@ -308,7 +308,7 @@
             if kw.get('id') is not None:
                 del kw['id'] # don't even bother searching by id
             # Note: name can be a sequence.
-            kw['login'] = kw['name']
+            kw['login'] = self.applyTransform( kw['name'] )
         if kw.get('login', None):
             kw['login'] = self.applyTransform( kw['login'] )
 



More information about the checkins mailing list