Add registration message

This commit is contained in:
Matt Wright
2012-08-16 18:53:27 -04:00
parent d87676027e
commit dec858dae9
5 changed files with 9 additions and 5 deletions
+3
View File
@@ -141,6 +141,9 @@ def register():
if not _security.confirmable or _security.login_without_confirmation:
login_user(u)
if _security.confirmable:
do_flash(*get_message('CONFIRM_REGISTRATION', email=u.email))
return redirect(get_url(_security.post_register_view) or
get_url(_security.post_login_view))