From 6d29a4b1b0e1bcc7e0bccb09b112de50dd512958 Mon Sep 17 00:00:00 2001 From: vladimiratanasov <67702437+vladimiratanasov@users.noreply.github.com> Date: Thu, 16 Nov 2023 12:11:38 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c1f1960..a4c51f5 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Read the [official documentation](https://console.ng.bluemix.net/docs/services/a * passport.js 0.6.0+ ## Migrating from v6 to v7 -Breaking changes in passport.js require users to pass the `{ keepSessionInfo: true }` object to the middleware when protecting endpoints. +Breaking changes in passport.js require users to pass the `{ keepSessionInfo: true }` object to the middleware when protecting endpoints when using WebAppStrategy. ``` app.use(passport.authenticate(WebAppStrategy.STRATEGY_NAME, { keepSessionInfo: true }));