Remove console.log statements

This commit is contained in:
Rory Powell 2022-01-17 09:53:53 +00:00
parent 13d0bfb190
commit f3ac142870
1 changed files with 0 additions and 2 deletions

View File

@ -88,7 +88,6 @@
!$isActive("./admin") !$isActive("./admin")
) { ) {
const url = window.location.pathname const url = window.location.pathname
console.log("setting return url:" + url)
setCookie(Cookies.ReturnUrl, url) setCookie(Cookies.ReturnUrl, url)
} }
@ -126,7 +125,6 @@
const returnUrl = getCookie(Cookies.ReturnUrl) const returnUrl = getCookie(Cookies.ReturnUrl)
if (returnUrl) { if (returnUrl) {
removeCookie(Cookies.ReturnUrl) removeCookie(Cookies.ReturnUrl)
console.log("redirecting to return url:" + returnUrl)
window.location.href = returnUrl window.location.href = returnUrl
} }
} }