mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
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:
parent
dd5b479c5d
commit
c6b6bd97b9
1 changed files with 3 additions and 1 deletions
|
|
@ -86,8 +86,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.8devel'
|
||||
|
|
@ -96,4 +98,4 @@ tracks_version='1.8devel'
|
|||
info=`git log --pretty=format:"%ai" -1`
|
||||
tracks_version=tracks_version + ' ('+info+')'
|
||||
|
||||
TRACKS_VERSION=tracks_version
|
||||
TRACKS_VERSION=tracks_version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue