Skip to content

Commit

Permalink
fix(crypt): mask pass*
Browse files Browse the repository at this point in the history
  • Loading branch information
wyvern8 committed Jul 2, 2018
1 parent 7ddb750 commit 8b83246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agent/AgentUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export class AgentUtils {
}

static varMask(key, val) {
if (new RegExp('LOGIN|OAUTH|KEY|TOKEN|SECRET|PASSW').test(key)) {
if (new RegExp('LOGIN|OAUTH|KEY|TOKEN|SECRET|PASS').test(key)) {
return this.maskString(val);
} else {
return val;
Expand Down

0 comments on commit 8b83246

Please sign in to comment.