[cleanup] Remove dead Auth() middleware method #38
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.