Fix iframe password issue (#110)
This commit is contained in:
parent
8d11d2c976
commit
e473f28ea1
|
@ -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.')
|
||||
|
|
Loading…
Reference in New Issue