Skip to content

Commit e7fd98c

Browse files
makes message concise
1 parent e366b2a commit e7fd98c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/modal/v2/lib/postMessage.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ function createSafePayload(unscreenedPayload) {
4141
if (allowedFields.includes(key)) {
4242
safePayload[key] = value;
4343
} else {
44-
console.warn(
45-
`attn PayPal dev: modal hook payload params are screened by function createSafePayload in postMessage.js for data security. Please consider if param ${key} is secure for posting, and add the secure param(s) to that function's allowed fields.`
46-
);
44+
console.warn(`modal hook payload param should be allowlisted if secure: ${key}`);
4745
}
4846
});
4947
}

0 commit comments

Comments
 (0)