docs: fix security doc url check (#16775)

This commit is contained in:
pol 2019-02-06 19:43:58 +01:00 committed by Samuel Attard
parent 76d919fff5
commit c76459738e

View file

@ -278,7 +278,8 @@ session
callback(true) callback(true)
} }
if (!url.startsWith('https://my-website.com')) { // Verify URL
if (!url.startsWith('https://my-website.com/')) {
// Denies the permissions request // Denies the permissions request
return callback(false) return callback(false)
} }