Fixed #onthefly_creation_failed broken by r9940 (#11850).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10412 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-09-17 18:31:20 +00:00
parent 01e2472c92
commit 187d5db6b4
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ class AccountController < ApplicationController
def onthefly_creation_failed(user, auth_source_options = { }) def onthefly_creation_failed(user, auth_source_options = { })
@user = user @user = user
session[:auth_source_registration] = auth_source_options unless auth_source_options.empty? session[:auth_source_registration] = auth_source_options unless auth_source_options.empty?
render register_path render :action => 'register'
end end
def invalid_credentials def invalid_credentials