Skip to content

Commit d9e8e0e

Browse files
committed
use some more standard values for credentials-kind for NodeJS client credentials
1 parent ff85db3 commit d9e8e0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/lib/semmle/javascript/frameworks/NodeJSLib.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ module NodeJSLib {
10031003
exists(ClientRequestLoginCallback callback | this = callback.getACall().getArgument(0))
10041004
}
10051005

1006-
override string getCredentialsKind() { result = "Node.js http(s) client login username" }
1006+
override string getCredentialsKind() { result = "user name" }
10071007
}
10081008

10091009
/**
@@ -1014,7 +1014,7 @@ module NodeJSLib {
10141014
exists(ClientRequestLoginCallback callback | this = callback.getACall().getArgument(1))
10151015
}
10161016

1017-
override string getCredentialsKind() { result = "Node.js http(s) client login password" }
1017+
override string getCredentialsKind() { result = "password" }
10181018
}
10191019

10201020
/**

0 commit comments

Comments
 (0)