From 53d88d05c845174f26189befe0414b077536f5de Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Wed, 31 Mar 2021 15:07:32 +0200 Subject: [PATCH] ensure path / fix standalone login problem --- index.cfm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.cfm b/index.cfm index b41e1b4..6938fd7 100644 --- a/index.cfm +++ b/index.cfm @@ -16,6 +16,8 @@ sessionInvalidate(); location url="index.cfm" addtoken="false"; case "login": + if (cgi.REQUEST_URL does not contain "/index.cfm") + location url="index.cfm" addtoken="false"; cfinclude(template="login.cfm"); break; default: