Password not working when Notion embed - Fixed (#360)
This commit is contained in:
@@ -71,7 +71,7 @@ const openCompleteForm = ref(null)
|
|||||||
const passwordEntered = function (password) {
|
const passwordEntered = function (password) {
|
||||||
const cookie = useCookie('password-' + slug, {
|
const cookie = useCookie('password-' + slug, {
|
||||||
maxAge: 60 * 60 * 7,
|
maxAge: 60 * 60 * 7,
|
||||||
sameSite: false,
|
sameSite: 'none',
|
||||||
secure: true
|
secure: true
|
||||||
})
|
})
|
||||||
cookie.value = sha256(password)
|
cookie.value = sha256(password)
|
||||||
|
|||||||
Reference in New Issue
Block a user