Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ fastify.register(require('@fastify/basic-auth'), {
})
```

The `authenticate` object can also have an optional `header` key allowing to customise the name of the header used instead of the default `WWW-Authenticate`:
The `authenticate` object can include an optional `header` key to customize the header name, replacing the default `WWW-Authenticate`:

```js
fastify.register(require('@fastify/basic-auth'), {
Expand Down