Skip to content

Commit 9351555

Browse files
Merge pull request #2577 from lmarqs/update-secret-value-in-authentication-docs
docs(authentitcation): update the example secret
2 parents bd586d3 + 066c7a5 commit 9351555

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/security/authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,11 @@ First, create `constants.ts` in the `auth` folder, and add the following code:
465465
```typescript
466466
@@filename(auth/constants)
467467
export const jwtConstants = {
468-
secret: 'secretKey',
468+
secret: 'DO NOT USE THIS VALUE. INSTEAD, CREATE A COMPLEX SECRET AND KEEP IT SAFE OUTSIDE OF THE SOURCE CODE.',
469469
};
470470
@@switch
471471
export const jwtConstants = {
472-
secret: 'secretKey',
472+
secret: 'DO NOT USE THIS VALUE. INSTEAD, CREATE A COMPLEX SECRET AND KEEP IT SAFE OUTSIDE OF THE SOURCE CODE.',
473473
};
474474
```
475475

0 commit comments

Comments
 (0)