From 24ee6b9a1b16ce6f2e698364bd4099431327244a Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Fri, 20 Feb 2009 00:31:50 +0000 Subject: [PATCH] Fixed the bug in the OpenID registration where the form wouldn't take a login AccountController#open_id_authenticate was adding an auth_source_registration to the session which caused AccountController#register to use the wrong codepath. #2757 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2483 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/account_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb index aa5d22b46..4d96ad8f3 100644 --- a/app/controllers/account_controller.rb +++ b/app/controllers/account_controller.rb @@ -196,15 +196,15 @@ private case Setting.self_registration when '1' register_by_email_activation(user) do - onthefly_creation_failed(user, {:login => user.login, :identity_url => identity_url }) + onthefly_creation_failed(user) end when '3' register_automatically(user) do - onthefly_creation_failed(user, {:login => user.login, :identity_url => identity_url }) + onthefly_creation_failed(user) end else register_manually_by_administrator(user) do - onthefly_creation_failed(user, {:login => user.login, :identity_url => identity_url }) + onthefly_creation_failed(user) end end else