mirror of https://github.com/veops/cmdb.git
Merge branch 'master' into dev_api_password
This commit is contained in:
commit
e0059cfc84
|
@ -723,7 +723,6 @@ class CIManager(object):
|
||||||
def save_password(cls, ci_id, attr_id, value, record_id, type_id):
|
def save_password(cls, ci_id, attr_id, value, record_id, type_id):
|
||||||
changed = None
|
changed = None
|
||||||
encrypt_value = None
|
encrypt_value = None
|
||||||
|
|
||||||
value_table = ValueTypeMap.table[ValueTypeEnum.PASSWORD]
|
value_table = ValueTypeMap.table[ValueTypeEnum.PASSWORD]
|
||||||
if current_app.config.get('SECRETS_ENGINE') == 'inner':
|
if current_app.config.get('SECRETS_ENGINE') == 'inner':
|
||||||
if value:
|
if value:
|
||||||
|
|
Loading…
Reference in New Issue