Skip to content

Commit

Permalink
Cleanup TODO for speculative authenticate (#4143)
Browse files Browse the repository at this point in the history
  • Loading branch information
chilagrow committed Mar 6, 2024
1 parent 25e6b46 commit 4a67734
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions internal/handler/msg_createuser.go
Expand Up @@ -46,8 +46,6 @@ func (h *Handler) MsgCreateUser(ctx context.Context, msg *wire.OpMsg) (*wire.OpM
return nil, err
}

// TODO https://github.com/FerretDB/FerretDB/issues/3777
// TODO https://github.com/FerretDB/FerretDB/issues/3778
if dbName != "$external" && !document.Has("pwd") {
return nil, handlererrors.NewCommandErrorMsg(
handlererrors.ErrBadValue,
Expand Down
2 changes: 1 addition & 1 deletion internal/handler/msg_usersinfo.go
Expand Up @@ -45,7 +45,7 @@ func (h *Handler) MsgUsersInfo(ctx context.Context, msg *wire.OpMsg) (*wire.OpMs
return nil, lazyerrors.Error(err)
}

// TODO https://github.com/FerretDB/FerretDB/issues/3777
// TODO https://github.com/FerretDB/FerretDB/issues/4141
if err = common.UnimplementedNonDefault(document, "filter", func(v any) bool {
if v == nil || v == types.Null {
return true
Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/supported-commands.md
Expand Up @@ -209,7 +209,7 @@ Related [issue](https://github.com/FerretDB/FerretDB/issues/78).
| | `showCustomData` | ⚠️ | |
| | `showPrivileges` | ⚠️ | |
| | `showAuthenticationRestrictions` | ⚠️ | |
| | `filter` | ⚠️ | |
| | `filter` | ⚠️ | [Issue](https://github.com/FerretDB/FerretDB/issues/4141) |
| | `comment` | ⚠️ | |

### Authentication Commands
Expand Down

0 comments on commit 4a67734

Please sign in to comment.