]> gitweb.michael.orlitzky.com - charm-bypass.git/blobdiff - index.html.in
index.html.in: uppercase the security code automatically
[charm-bypass.git] / index.html.in
index c805cf5f020ff5d41928ad8f5520936811e966c5..25f477501f0f53117a459eeb5672d0161350453e 100644 (file)
         /* 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 */