]> source.dussan.org Git - redmine.git/commitdiff
Fixed openid redirect.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 29 Apr 2012 08:48:50 +0000 (08:48 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 29 Apr 2012 08:48:50 +0000 (08:48 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9579 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/account_controller.rb

index 926e044999814e69b31217711ce1504aa9988877..7bf518fe31a1417074ff8a0a46eb4f450b20abc8 100644 (file)
@@ -153,7 +153,7 @@ class AccountController < ApplicationController
   end
 
   def open_id_authenticate(openid_url)
-    authenticate_with_open_id(openid_url, :required => [:nickname, :fullname, :email], :return_to => signin_url) do |result, identity_url, registration|
+    authenticate_with_open_id(openid_url, :required => [:nickname, :fullname, :email], :return_to => signin_url, :method => :post) do |result, identity_url, registration|
       if result.successful?
         user = User.find_or_initialize_by_identity_url(identity_url)
         if user.new_record?