Skip to content

Commit

Permalink
fix github wiki link
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Sep 15, 2024
1 parent e4921dc commit c24c3fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/server/middlewares/auth/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (h *authHandler) warnIfUnprotectedByDefault(role internalRole, route string
}
h.logger.Warnf("route %s is unprotected by default, "+
"please set up authentication following the documentation at "+
"https://github.com/gluetun-wiki/setup/advanced/control-server.md#authentication "+
"https://github.com/qdm12/gluetun-wiki/setup/advanced/control-server.md#authentication "+
"since this will become no longer publicly accessible after release v3.40.",
route)
}
2 changes: 1 addition & 1 deletion internal/server/middlewares/auth/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func Test_authHandler_ServeHTTP(t *testing.T) {
logger := NewMockDebugLogger(ctrl)
logger.EXPECT().Warnf("route %s is unprotected by default, "+
"please set up authentication following the documentation at "+
"https://github.com/gluetun-wiki/setup/advanced/control-server.md#authentication "+
"https://github.com/qdm12/gluetun-wiki/setup/advanced/control-server.md#authentication "+
"since this will become no longer publicly accessible after release v3.40.",
"GET /v1/vpn/status")
logger.EXPECT().Debugf("access to route %s authorized for role %s",
Expand Down

0 comments on commit c24c3fa

Please sign in to comment.