Defect #3371 ยป redmine-openid_autologin_fix-DrewDahl-3371.patch
| app/controllers/account_controller.rb | ||
|---|---|---|
| 169 | 169 |
end |
| 170 | 170 | |
| 171 | 171 |
def open_id_authenticate(openid_url) |
| 172 |
authenticate_with_open_id(openid_url, :required => [:nickname, :fullname, :email], :return_to => signin_url, :method => :post) do |result, identity_url, registration| |
|
| 172 |
authenticate_with_open_id(openid_url, :required => [:nickname, :fullname, :email], :return_to => signin_url(:autologin => params[:autologin]), :method => :post) do |result, identity_url, registration|
|
|
| 173 | 173 |
if result.successful? |
| 174 | 174 |
user = User.find_or_initialize_by_identity_url(identity_url) |
| 175 | 175 |
if user.new_record? |