##// END OF EJS Templates
encryption: allow to pass in alternative key for encryption values
marcink -
r268:a831f9d8 default
parent child Browse files
Show More
@@ -343,7 +343,9 b' def engine_from_config(configuration, pr'
343
343
344
344
345 def get_encryption_key(config):
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 def age(prevdate, now=None, show_short_version=False, show_suffix=True,
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