remove show_secret

This commit is contained in:
gwen 2024-09-04 17:16:23 +02:00
parent ab1f1bb5c3
commit fbb663540c
2 changed files with 0 additions and 11 deletions

View file

@ -37,15 +37,6 @@ environment:
negative_description: Ask values all variables
alternative_name: qm
default: false
show_secrets:
description: Show secrets instead of obscuring them
negative_description: Obscuring secrets instead of show them
alternative_name: qs
type: boolean
default:
type: variable
variable: __.exporter.show_secrets
optional: true
"""
return {'name': 'environment',
'process': 'user data',

View file

@ -98,8 +98,6 @@ class RougailUserDataEnvironment:
kwargs['choices'] = option.value.list()
elif option_type == 'boolean':
question_funtion = confirm
elif option_type == 'secret' and not self.rougailconfig['environment.show_secrets']:
question_funtion = password
else:
question_funtion = text
kwargs['validate'] = RougailValidator