From 3fbbb6a23b310cec8c9fc1666aaed5b4f7bb4cff Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 2 Nov 2023 00:22:06 -0400 Subject: [PATCH] index.html.in: uppercase the security code automatically There's no reason to do this, except the only reason to do this: people are dumb and this will help their dumb asses when we make it possible to change the code via the menu. --- index.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html.in b/index.html.in index c805cf5..25f4775 100644 --- a/index.html.in +++ b/index.html.in @@ -403,7 +403,7 @@ /* Get the "code" from the querystring if it's there */ const params = new URLSearchParams(document.location.search); if (params.get("code")) { - ct.textContent = params.get("code"); + ct.textContent = params.get("code").toUpperCase(); } else { /* Otherwise, use a random code */ -- 2.44.2