@@ -153,7 +153,7 class AccountController < ApplicationController | |||||
153 | end |
|
153 | end | |
154 |
|
154 | |||
155 | def open_id_authenticate(openid_url) |
|
155 | def open_id_authenticate(openid_url) | |
156 | authenticate_with_open_id(openid_url, :required => [:nickname, :fullname, :email], :return_to => signin_url) do |result, identity_url, registration| |
|
156 | authenticate_with_open_id(openid_url, :required => [:nickname, :fullname, :email], :return_to => signin_url, :method => :post) do |result, identity_url, registration| | |
157 | if result.successful? |
|
157 | if result.successful? | |
158 | user = User.find_or_initialize_by_identity_url(identity_url) |
|
158 | user = User.find_or_initialize_by_identity_url(identity_url) | |
159 | if user.new_record? |
|
159 | if user.new_record? |
General Comments 0
You need to be logged in to leave comments.
Login now