Add HTTP Basic Auth

All write endpoints and the manage
routes are gated behind HTTP Basic Auth middleware; credentials are
configured via [auth] in config.toml or APP__AUTH__USERNAME /
APP__AUTH__PASSWORD environment variables.
This commit is contained in:
Ganonmaster
2026-04-28 03:23:57 +02:00
parent c13f5b9a88
commit 08fd6cea70
7 changed files with 103 additions and 6 deletions
Generated
+1
View File
@@ -1851,6 +1851,7 @@ dependencies = [
"aws-credential-types",
"aws-sdk-s3",
"axum",
"base64 0.22.1",
"bytes",
"chrono",
"config",