diff MoinMoin/userprefs/changepass.py @ 4336:4f3d0b92d1c9

add i18n to the password checker result messages, add request param
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 25 Sep 2008 18:31:24 +0200
parents 7bfd4232cfb7
children eda647742453 a2128aa8b830
line wrap: on
line diff
--- a/MoinMoin/userprefs/changepass.py	Tue Sep 23 00:44:45 2008 +0200
+++ b/MoinMoin/userprefs/changepass.py	Thu Sep 25 18:31:24 2008 +0200
@@ -54,7 +54,7 @@
 
         pw_checker = request.cfg.password_checker
         if pw_checker:
-            pw_error = pw_checker(request.user.name, password)
+            pw_error = pw_checker(request, request.user.name, password)
             if pw_error:
                 return 'error', _("Password not acceptable: %s") % pw_error