##// END OF EJS Templates
Merged r11521 from trunk (#3371)....
Jean-Philippe Lang -
r11333:511099e9cac4
parent child
Show More
@@ -176,7 +176,9 class AccountController < ApplicationController
176 end
176 end
177
177
178 def open_id_authenticate(openid_url)
178 def open_id_authenticate(openid_url)
179 authenticate_with_open_id(openid_url, :required => [:nickname, :fullname, :email], :return_to => signin_url, :method => :post) do |result, identity_url, registration|
179 back_url = signin_url(:autologin => params[:autologin])
180
181 authenticate_with_open_id(openid_url, :required => [:nickname, :fullname, :email], :return_to => back_url, :method => :post) do |result, identity_url, registration|
180 if result.successful?
182 if result.successful?
181 user = User.find_or_initialize_by_identity_url(identity_url)
183 user = User.find_or_initialize_by_identity_url(identity_url)
182 if user.new_record?
184 if user.new_record?
General Comments 0
You need to be logged in to leave comments. Login now