Update scripts with latest fastapi-vue-setup.

This commit is contained in:
2026-01-30 18:40:26 +00:00
parent 7be02e951d
commit 849b1a6868
11 changed files with 467 additions and 306 deletions
+3 -1
View File
@@ -128,7 +128,9 @@ def _main():
auth_mode = args["--auth"]
if auth_mode:
if auth_mode not in ("none", "password", "paskia"):
raise ValueError(f"Invalid auth mode: {auth_mode}. Use: none, password, paskia")
raise ValueError(
f"Invalid auth mode: {auth_mode}. Use: none, password, paskia"
)
settings["authentication"] = auth_mode
elif not exists and not import_droppy:
# We have no users, so make it public