Files
Nick Craig-Wood ee3c3e894f lib/http: warn when --user is set with an empty --pass
If --user (or --rc-user etc.) is set without --pass then the basic
auth middleware is installed with an empty password, so anyone who
knows the user name can log in with an empty password. For the rc
this also counts as "authenticated" and unlocks the methods which
need authentication.

This now logs a NOTICE level warning at startup so the operator can
see what they have configured. Behaviour is otherwise unchanged as an
empty password may be intentional.

Reported by @ctxloop
2026-11-23 13:09:49 +00:00
..
2025-02-28 11:31:14 +00:00