Skip to content

Commit

Permalink
Fix example code that is triggering Sonar security issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fmvilas committed Oct 25, 2024
1 parent c0a975e commit 404a7b8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ export async function clientAuth({ parsedAsyncAPI, serverName }) {
return {
token: process.env.TOKEN,
userPass: {
user: "alec", password: "oviecodes"
user: process.env.CLIENT_USER,
password: process.env.CLIENT_PASSWORD,
}
}
}

0 comments on commit 404a7b8

Please sign in to comment.