diff MoinMoin/action/recoverpass.py @ 2967:a310264ad186

Added a few add_msg calls (by Federico Lorenzi).
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Mon, 24 Dec 2007 00:16:48 +0100
parents 388204baf00f
children 15d744f727c9
line wrap: on
line diff
--- a/MoinMoin/action/recoverpass.py	Sun Dec 23 23:52:43 2007 +0100
+++ b/MoinMoin/action/recoverpass.py	Mon Dec 24 00:16:48 2007 +0100
@@ -66,7 +66,8 @@
 
     if submitted: # user pressed create button
         msg = _do_recover(request)
-        page.send_page(msg=msg)
+        request.theme.add_msg(msg, "dialog")
+        page.send_page()
     else: # show create form
         request.emit_http_headers()
         request.theme.send_title(_("Lost password"), pagename=pagename)