Skip to content

Commit

Permalink
add todo links
Browse files Browse the repository at this point in the history
  • Loading branch information
chilagrow committed Feb 20, 2024
1 parent 0ab1f56 commit 306c10b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/handler/authenticate.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import (
//
// When admin.systems.user contains no user, the authentication is delegated to
// the backend. This may change once local exception is implemented.
// TODO https://github.com/FerretDB/FerretDB/issues/4100
func (h *Handler) authenticate(ctx context.Context) error {
if !h.EnableNewAuth {
return nil
Expand Down Expand Up @@ -99,6 +100,7 @@ func (h *Handler) authenticate(ctx context.Context) error {
// We do not want unauthenticated users accessing the database, while allowing
// users with valid backend credentials to access the database
// until local exception is implemented.
// TODO https://github.com/FerretDB/FerretDB/issues/4100
conninfo.Get(ctx).UnsetBypassBackendAuth()

return nil
Expand Down

0 comments on commit 306c10b

Please sign in to comment.