Applied 'register notice' patch by Matt Jones.
The user is now redirected to the login screen after having registered. git-svn-id: http://redmine.rubyforge.org/svn/trunk@601 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -135,7 +135,7 @@ class AccountController < ApplicationController
|
||||
if @user.save and token.save
|
||||
Mailer.deliver_register(token)
|
||||
flash[:notice] = l(:notice_account_register_done)
|
||||
redirect_to :controller => 'welcome' and return
|
||||
redirect_to :controller => 'account', :action => 'login'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user