Skip to content

Commit 8e1c24a

Browse files
authored
Deprecating credentials in url: first commit (#321)
This is to create a PR where other changes to the docs can be added
1 parent 1076ecc commit 8e1c24a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ To use `nano` you need to connect it to your CouchDB install, to do that:
108108
const nano = require('nano')('http://localhost:5984');
109109
```
110110

111-
> Note: The URL you supply may also contain authentication credentials e.g. `http://admin:mypassword@localhost:5984`.
111+
> Note: Supplying authentication credentials in the URL e.g. `http://admin:mypassword@localhost:5984` is deprecated. Use `nano.auth` instead.
112112
113113
To create a new database:
114114

0 commit comments

Comments
 (0)