From aab2662f9ca5ba6ce54651c24c7f518c52dcb2d4 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Thu, 17 Oct 2019 11:16:41 +1100 Subject: [PATCH] Add path to redirect --- assets/javascripts/wizard-custom-guest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/wizard-custom-guest.js b/assets/javascripts/wizard-custom-guest.js index 1c125403..0cd43018 100644 --- a/assets/javascripts/wizard-custom-guest.js +++ b/assets/javascripts/wizard-custom-guest.js @@ -1,4 +1,4 @@ (function () { - document.cookie = `destination_url=${window.location.href}` + document.cookie = `destination_url=${window.location.href};path=/`; window.location.href = '/login' })()