From 187d5db6b4a2659145607d6854cf32bae585e0fe Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 17 Sep 2012 18:31:20 +0000 Subject: [PATCH] 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 --- app/controllers/account_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb index fc6538572..70ab85170 100644 --- a/app/controllers/account_controller.rb +++ b/app/controllers/account_controller.rb @@ -238,7 +238,7 @@ class AccountController < ApplicationController def onthefly_creation_failed(user, auth_source_options = { }) @user = user session[:auth_source_registration] = auth_source_options unless auth_source_options.empty? - render register_path + render :action => 'register' end def invalid_credentials -- 2.39.5