Skip to content

Commit

Permalink
ensure path / fix standalone login problem
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Mar 31, 2021
1 parent fffb288 commit 53d88d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 53d88d0

Please sign in to comment.