@@ -176,7 +176,9 class AccountController < ApplicationController | |||
|
176 | 176 | end |
|
177 | 177 | |
|
178 | 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 | 182 | if result.successful? |
|
181 | 183 | user = User.find_or_initialize_by_identity_url(identity_url) |
|
182 | 184 | if user.new_record? |
General Comments 0
You need to be logged in to leave comments.
Login now