This commit is contained in:
Riley Mathews
2026-04-28 15:43:51 -05:00
parent 6e8ed03544
commit e5e1e925b7

View File

@@ -123,7 +123,8 @@ permissions: RrWw""")
with open(htpasswd_file_path, "w", encoding=encoding) as f: with open(htpasswd_file_path, "w", encoding=encoding) as f:
f.write("owner:ownerpw\nuser:userpw") f.write("owner:ownerpw\nuser:userpw")
self.configure({"auth": {"type": "htpasswd", self.configure({
"auth": {"type": "htpasswd",
"htpasswd_filename": htpasswd_file_path, "htpasswd_filename": htpasswd_file_path,
"htpasswd_encryption": "plain"}, "htpasswd_encryption": "plain"},
"rights": {"type": "owner_only"}, "rights": {"type": "owner_only"},