Adds the email address to the flash message after registeration.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11949 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -282,7 +282,7 @@ class AccountController < ApplicationController
|
||||
token = Token.new(:user => user, :action => "register")
|
||||
if user.save and token.save
|
||||
Mailer.register(token).deliver
|
||||
flash[:notice] = l(:notice_account_register_done)
|
||||
flash[:notice] = l(:notice_account_register_done, :email => user.mail)
|
||||
redirect_to signin_path
|
||||
else
|
||||
yield if block_given?
|
||||
|
||||
Reference in New Issue
Block a user