Project

General

Profile

Feature #14060 » openid-conf.diff

Toshi MARUYAMA, 2013-05-16 02:23

View differences:

config/configuration.yml.example
# Maximum number of simultaneous AJAX uploads
#max_concurrent_ajax_uploads: 2
# Configure OpenIdAuthentication.store
#
# allowed values: :memory, :file, :memcache
openid_authentication_store = :memory
# specific configuration options for production environment
# that overrides the default ones
production:
config/initializers/30-redmine.rb
RedmineApp::Application.config.secret_token = secret
end
openid_authentication_store = Redmine::Configuration['openid_authentication_store']
OpenIdAuthentication.store =
openid_authentication_store.present? ?
openid_authentication_store : :memory
Redmine::Plugin.load
unless Redmine::Configuration['mirror_plugins_assets_on_startup'] == false
Redmine::Plugin.mirror_assets
(2-2/2)