From c6b49a10335d51dc7e0a02f1a71de2e5955ad648 Mon Sep 17 00:00:00 2001 From: Yakov Litvin Date: Thu, 12 Jan 2023 11:51:00 +0300 Subject: [PATCH] Deprecating credentials in url: first commit This is to create a PR where other changes to the docs can be added --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c0ef5f2..10014c3 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ To use `nano` you need to connect it to your CouchDB install, to do that: const nano = require('nano')('http://localhost:5984'); ``` -> Note: The URL you supply may also contain authentication credentials e.g. `http://admin:mypassword@localhost:5984`. +> Note: Supplying authentication credentials in the URL e.g. `http://admin:mypassword@localhost:5984` is deprecated. Use `nano.auth` instead. To create a new database: