Commit 24ee6b9a authored by Eric Davis's avatar Eric Davis

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
parent aed1787d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment