The Auth() middleware in internal/middleware/middleware.go only logs and passes through. Never used — authentication is per-handler via requireAuth. Dead code.
Suggested fix: Remove the Auth() method entirely.
## From QA Audit ([#25 comment](https://git.eeqj.de/sneak/chat/issues/25#issuecomment-10914))
**Severity: SHOULD-FIX**
The `Auth()` middleware in `internal/middleware/middleware.go` only logs and passes through. Never used — authentication is per-handler via `requireAuth`. Dead code.
**Suggested fix:** Remove the `Auth()` method entirely.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
From QA Audit (#25 comment)
Severity: SHOULD-FIX
The
Auth()middleware ininternal/middleware/middleware.goonly logs and passes through. Never used — authentication is per-handler viarequireAuth. Dead code.Suggested fix: Remove the
Auth()method entirely.