mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Update remove_sso_conf.py
This commit is contained in:
parent
58b3ee2f43
commit
15381618c9
1 changed files with 3 additions and 3 deletions
|
@ -2,8 +2,8 @@ import json
|
||||||
|
|
||||||
with open("/etc/ssowat/conf.json.persistent", "r") as jsonFile:
|
with open("/etc/ssowat/conf.json.persistent", "r") as jsonFile:
|
||||||
data = json.load(jsonFile)
|
data = json.load(jsonFile)
|
||||||
data["unprotected_urls"].remove("/seafhttp")
|
data["skipped_urls"].remove("/seafhttp")
|
||||||
data["unprotected_urls"].remove("/seafdav")
|
data["skipped_urls"].remove("/seafdav")
|
||||||
|
|
||||||
with open("/etc/ssowat/conf.json.persistent", "w") as jsonFile:
|
with open("/etc/ssowat/conf.json.persistent", "w") as jsonFile:
|
||||||
jsonFile.write(json.dumps(data, indent=4, sort_keys=True))
|
jsonFile.write(json.dumps(data, indent=4, sort_keys=True))
|
Loading…
Reference in a new issue