mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1786 from Salamandar/fix_readonly_question
Fix readonly questions (display_text, etc)
This commit is contained in:
commit
eaa6b2efc5
1 changed files with 3 additions and 0 deletions
|
@ -1168,6 +1168,9 @@ def app_install(
|
||||||
# If packaging_format v2+, save all install questions as settings
|
# If packaging_format v2+, save all install questions as settings
|
||||||
if packaging_format >= 2:
|
if packaging_format >= 2:
|
||||||
for question in questions:
|
for question in questions:
|
||||||
|
# Except readonly "questions" that don't even have a value
|
||||||
|
if question.readonly:
|
||||||
|
continue
|
||||||
# Except user-provider passwords
|
# Except user-provider passwords
|
||||||
# ... which we need to reinject later in the env_dict
|
# ... which we need to reinject later in the env_dict
|
||||||
if question.type == "password":
|
if question.type == "password":
|
||||||
|
|
Loading…
Add table
Reference in a new issue