set logger for openid to default logger. The openid gem defaults logging to STDERR which could lead to write errors on some restricted hosting providers

see discussion at http://www.getontracks.org/forums/viewthread/367/
This commit is contained in:
Reinier Balt 2009-04-08 09:18:51 +02:00
parent 59b4b13f9d
commit f0f30fa8de

View file

@ -85,8 +85,10 @@ if ( SITE_CONFIG['authentication_schemes'].include? 'ldap')
SimpleLdapAuthenticator.use_ssl = ldap['ssl']
SimpleLdapAuthenticator.login_format = ldap['login_format']
end
if ( SITE_CONFIG['authentication_schemes'].include? 'open_id')
#requires ruby-openid gem to be installed
OpenID::Util.logger = RAILS_DEFAULT_LOGGER
end
TRACKS_VERSION='1.7.1dev'