Show More
@@ -343,7 +343,9 b' def engine_from_config(configuration, pr' | |||
|
343 | 343 | |
|
344 | 344 | |
|
345 | 345 | def get_encryption_key(config): |
|
346 | return config['beaker.session.secret'] | |
|
346 | secret = config.get('rhodecode.encrypted_values.secret') | |
|
347 | default = config['beaker.session.secret'] | |
|
348 | return secret or default | |
|
347 | 349 | |
|
348 | 350 | |
|
349 | 351 | def age(prevdate, now=None, show_short_version=False, show_suffix=True, |
General Comments 0
You need to be logged in to leave comments.
Login now