[Checkins] SVN: PluggableAuthService/branches/z3-events/PluggableAuthService.py updateCredentials should be run as an event handler, it should not send the event itself

Wichert Akkerman wichert at wiggy.net
Sat Jun 9 07:29:22 EDT 2007


Log message for revision 76541:
  updateCredentials should be run as an event handler, it should not send the event itself

Changed:
  U   PluggableAuthService/branches/z3-events/PluggableAuthService.py

-=-
Modified: PluggableAuthService/branches/z3-events/PluggableAuthService.py
===================================================================
--- PluggableAuthService/branches/z3-events/PluggableAuthService.py	2007-06-09 11:26:19 UTC (rev 76540)
+++ PluggableAuthService/branches/z3-events/PluggableAuthService.py	2007-06-09 11:29:22 UTC (rev 76541)
@@ -1099,10 +1099,7 @@
         for updater_id, updater in cred_updaters:
             updater.updateCredentials(request, response, login, new_password)
 
-	# XXX this uses the login name instead of the principal ID!
-	event.notify(UserCredentialsUpdated(self, login, new_password))
 
-
     security.declarePublic('logout')
     def logout(self, REQUEST):
         """Publicly accessible method to log out a user



More information about the Checkins mailing list