Ensure there are no accidental newlines when fetching the ENCRYPTION_KEY
This commit is contained in:
parent
4a0328cd8f
commit
b00917aa60
|
@ -15,6 +15,6 @@ def get_key():
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
return current_app.config.get('LEMUR_ENCRYPTION_KEY')
|
return current_app.config.get('LEMUR_ENCRYPTION_KEY').strip()
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
return ''
|
return ''
|
||||||
|
|
Loading…
Reference in New Issue