change captcha input to upper case, fixes

This commit is contained in:
Tom
2023-05-24 14:22:04 +02:00
parent 6f79c3f4ef
commit ee0261fdec
3 changed files with 6 additions and 4 deletions
+3
View File
@@ -126,6 +126,9 @@ const CaptchaModal = () => {
placeholder="TYPE THE CAPTCHA HERE AND PRESS ENTER"
ref={responseRef}
onKeyDown={handleKeyDown}
onInput={(e) => {
e.target.value = e.target.value.toUpperCase();
}}
autoFocus />
<img src={imageSources[currentChallengeIndex]} alt="captcha" />
</div>