Skip to content

Commit

Permalink
Update packages/schema/lib/schemas/AuthFieldsSchema.js
Browse files Browse the repository at this point in the history
Co-authored-by: Kola Erinoso <[email protected]>
  • Loading branch information
Natay and kola-er authored Jan 29, 2025
1 parent 3f50efe commit 7260e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/schema/lib/schemas/AuthFieldsSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = makeSchema(
{
example: [{ key: 'password', isSafe: true }],
reason:
'A password field cannot be marked as isSafe: true (violates AuthFieldSchema).',
'"password" is a sensitive field and cannot have isSafe set as true.',
},
{
example: [{ key: 'api_key', isSafe: true }],
Expand Down

0 comments on commit 7260e55

Please sign in to comment.