From e473f28ea106b60b0d176e6af508729c47e2204e Mon Sep 17 00:00:00 2001 From: Chirag Chhatrala <60499540+chiragchhatrala@users.noreply.github.com> Date: Thu, 23 Mar 2023 14:40:31 +0530 Subject: [PATCH] Fix iframe password issue (#110) --- resources/js/pages/forms/show-public.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/pages/forms/show-public.vue b/resources/js/pages/forms/show-public.vue index d252881..39b34c3 100644 --- a/resources/js/pages/forms/show-public.vue +++ b/resources/js/pages/forms/show-public.vue @@ -156,7 +156,7 @@ export default { methods: { passwordEntered (password) { - Cookies.set('password-' + this.form.slug, sha256(password), { expires: 7 }) + Cookies.set('password-' + this.form.slug, sha256(password), { expires: 7, sameSite: 'None', secure: true }) loadForm(this.formSlug).then(() => { if (this.form.is_password_protected) { this.$refs['open-complete-form'].addPasswordError('Invalid password.')