MCPcopy
hub / github.com/chartbrew/chartbrew / getPublicPasswordInput

Function getPublicPasswordInput

server/api/ChartRoute.js:39–41  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

37 };
38
39 const getPublicPasswordInput = (req) => {
40 return req.body?.password || req.query?.password || req.query?.pass || req.headers.pass;
41 };
42
43 const verifyProjectSharePolicyAccess = async (req, project, sharePolicy) => {
44 if (!sharePolicy) {

Callers 1

checkPublicAccessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected