Skip to content

Reject empty metrics credentials - #267

Closed
benthecarman wants to merge 1 commit into
lightningdevkit:mainfrom
benthecarman:codex/loupe-metrics-auth
Closed

Reject empty metrics credentials#267
benthecarman wants to merge 1 commit into
lightningdevkit:mainfrom
benthecarman:codex/loupe-metrics-auth

Conversation

@benthecarman

Copy link
Copy Markdown
Collaborator

Reject configured empty usernames or passwords so Basic Auth cannot be enabled with a predictable empty credential pair.

This commit was created with assistance from Codex.

Reject configured empty usernames or passwords so Basic Auth cannot be
enabled with a predictable empty credential pair.

This commit was created with assistance from Codex.
@ldk-reviews-bot

ldk-reviews-bot commented Sep 1, 2026

Copy link
Copy Markdown

I've assigned @TheBlueMatt as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@TheBlueMatt

Copy link
Copy Markdown

Why?

@benthecarman

Copy link
Copy Markdown
Collaborator Author

loupe flagged this and if a user sets this it is likely a misconfiguration. seems better to just throw an error

@TheBlueMatt

Copy link
Copy Markdown

No, loupe is dumb. The client shouldn't be enforcing these kinds of things. Even if we think its marginally better to we don't need a ton of code just to enforce random shit on the client-side that the server can deal with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants