Merge pull request #43 from kevgliss/decryption
Ensure there are no accidental newlines when fetching the ENCRYPTION_KEY
This commit is contained in:
commit
39c022dbf3
|
@ -15,6 +15,6 @@ def get_key():
|
|||
:return:
|
||||
"""
|
||||
try:
|
||||
return current_app.config.get('LEMUR_ENCRYPTION_KEY')
|
||||
return current_app.config.get('LEMUR_ENCRYPTION_KEY').strip()
|
||||
except RuntimeError:
|
||||
return ''
|
||||
|
|
Loading…
Reference in New Issue