Feature #14060 » openid-conf.diff
config/configuration.yml.example | ||
---|---|---|
197 | 197 |
# Maximum number of simultaneous AJAX uploads |
198 | 198 |
#max_concurrent_ajax_uploads: 2 |
199 | 199 | |
200 |
# Configure OpenIdAuthentication.store |
|
201 |
# |
|
202 |
# allowed values: :memory, :file, :memcache |
|
203 |
openid_authentication_store = :memory |
|
204 | ||
200 | 205 |
# specific configuration options for production environment |
201 | 206 |
# that overrides the default ones |
202 | 207 |
production: |
config/initializers/30-redmine.rb | ||
---|---|---|
9 | 9 |
RedmineApp::Application.config.secret_token = secret |
10 | 10 |
end |
11 | 11 | |
12 |
openid_authentication_store = Redmine::Configuration['openid_authentication_store'] |
|
13 |
OpenIdAuthentication.store = |
|
14 |
openid_authentication_store.present? ? |
|
15 |
openid_authentication_store : :memory |
|
16 | ||
12 | 17 |
Redmine::Plugin.load |
13 | 18 |
unless Redmine::Configuration['mirror_plugins_assets_on_startup'] == false |
14 | 19 |
Redmine::Plugin.mirror_assets |
- « Previous
- 1
- 2
- Next »