Skip to content

Commit e5621c3

Browse files
Merge pull request #1375 from DZhuribeda/patch-2
docs(authentication): edit correct install flag
2 parents 4c55765 + d881d6f commit e5621c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/techniques/authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ We're ready to move on to the JWT portion of our auth system. Let's review and r
395395
We'll need to install a couple more packages to support our JWT requirements:
396396

397397
```bash
398-
$ npm install @nestjs/jwt passport-jwt
399-
$ npm install @types/passport-jwt --save-dev
398+
$ npm install --save @nestjs/jwt passport-jwt
399+
$ npm install --save-dev @types/passport-jwt
400400
```
401401

402402
The `@nestjs/jwt` package (see more [here](https://github.com/nestjs/jwt)) is a utility package that helps with JWT manipulation. The `passport-jwt` package is the Passport package that implements the JWT strategy and `@types/passport-jwt` provides the TypeScript type definitions.

0 commit comments

Comments
 (0)