Skip to content

Commit 224e437

Browse files
Merge pull request #1882 from t-richard/patch-1
Fix typo in authentication.md
2 parents d3bb529 + 3434fc0 commit 224e437

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/security/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ export class JwtAuthGuard extends AuthGuard(['strategy_jwt_1', 'strategy_jwt_2',
818818

819819
#### Enable authentication globally
820820

821-
If the vast of your endpoints should be protected by default, you can register the authentication guard as a [global guard](/guards#binding-guards) and instead of using `@UseGuards()` decorator on top of each controller, you could simply flag which routes should be public.
821+
If the vast majority of your endpoints should be protected by default, you can register the authentication guard as a [global guard](/guards#binding-guards) and instead of using `@UseGuards()` decorator on top of each controller, you could simply flag which routes should be public.
822822

823823
First, register the `JwtAuthGuard` as a global guard using the following construction (in any module):
824824

0 commit comments

Comments
 (0)