Mercurial > hg > soundsoftware-site
diff config/initializers/30-redmine.rb @ 1526:404aa68d4227
Merge from live branch
author | Chris Cannam |
---|---|
date | Thu, 11 Sep 2014 12:46:20 +0100 |
parents | 261b3d9a4903 |
children |
line wrap: on
line diff
--- a/config/initializers/30-redmine.rb Mon Mar 17 08:57:04 2014 +0000 +++ b/config/initializers/30-redmine.rb Thu Sep 11 12:46:20 2014 +0100 @@ -9,6 +9,13 @@ RedmineApp::Application.config.secret_token = secret end +if Object.const_defined?(:OpenIdAuthentication) + openid_authentication_store = Redmine::Configuration['openid_authentication_store'] + OpenIdAuthentication.store = + openid_authentication_store.present? ? + openid_authentication_store : :memory +end + Redmine::Plugin.load unless Redmine::Configuration['mirror_plugins_assets_on_startup'] == false Redmine::Plugin.mirror_assets