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 c371dc4 commit 3f50efe
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 @@ -17,7 +17,7 @@ module.exports = makeSchema(
// 1) Basic Auth: username (safe) + password (not safe)
[
{ key: 'username', type: 'string', isSafe: true, required: true },
{ key: 'password', type: 'string', isSafe: false, required: true },
{ key: 'password', type: 'password', isSafe: false, required: true },
],

// 2) Just a single auth field for custom usage (e.g., api_key)
Expand Down

0 comments on commit 3f50efe

Please sign in to comment.