Password not working when Notion embed - Fixed (#360)
This commit is contained in:
parent
b41d6c0e60
commit
a32c183758
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue