Added a system setting for allowing OpenID logins and registrations

* Defaults to off
* Is set in the Administration panel under Authentication

  #699

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2449 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis
2009-02-11 19:24:28 +00:00
parent 85ad791d81
commit 8d53e433c5
8 changed files with 22 additions and 4 deletions
+3 -3
View File
@@ -46,10 +46,10 @@ class AccountController < ApplicationController
self.logged_user = nil
else
# Authenticate user
unless using_open_id?
password_authentication
else
if using_open_id? && Setting.openid?
open_id_authenticate(params[:openid_url])
else
password_authentication
end
end
end