diff MoinMoin/action/recoverpass.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 6b3274cd86c6
children eda647742453 4238b0c90871
line wrap: on
line diff
--- a/MoinMoin/action/recoverpass.py	Tue Sep 23 00:44:45 2008 +0200
+++ b/MoinMoin/action/recoverpass.py	Thu Sep 25 18:31:24 2008 +0200
@@ -173,7 +173,7 @@
             pw_checker = request.cfg.password_checker
             pw_error = None
             if pw_checker:
-                pw_error = pw_checker(name, newpass)
+                pw_error = pw_checker(request, name, newpass)
                 if pw_error:
                     msg = _("Password not acceptable: %s") % pw_error
             if not pw_error: