Skip to content

Commit

Permalink
inverse the logic for tls_verify_collabora
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Nov 13, 2023
1 parent b47a6f3 commit 7080fdf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions imageroot/actions/get-configuration/20read
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ for c in rdb.scan_iter('module/collabora*/environment'):
if url:
array_collabora.append({"name": name, "label": name+' ('+ url+')', "value": url})
config["array_collabora"] = array_collabora
# The first load of nextcloud json is empty of tls_verify_collabora
# let's do a default value
if "tls_verify_collabora" not in config:
config["tls_verify_collabora"] = False

# Dump the configuratio to stdou
json.dump(config, fp=sys.stdout)

0 comments on commit 7080fdf

Please sign in to comment.