iOS clients capatlizing username and/or password

Recently, I am having a LOT of issues with iOS users getting the first letter of their username and/or password capitalized when they signup but not when they later try to signin.
This is causing a fair number of support calls and complaints…

As it is ONLY iOS gear that has this problem, and not all the time, I have found no fix for it. So, I plant to put a warning on the signup page explaining it…
But I’m not having much luck changing the web pages in MT hotspot without breaking them…
Does anyone have a template of the MikroTik Hotspot pages and what can and can not be changed about them?

Alternatively, some way to force Hotspot/UserManager to convert usernames and passwords to all uppercase would work as well.

Ideas?

All our gear is on ROS 5.25

Edit the login.html page.

Around line 42 is the javascript function:
function doLogin() {
document.sendin.username.value = document.login.username.value;
document.sendin.password.value = hexMD5(‘$(chap-id)’ + document.login.password.value + ‘$(chap-challenge)’);
document.sendin.submit();
return false;
}You can add .toUpperCase() to the username and password if you want them both to be submitted as uppercase.
function doLogin() {
document.sendin.username.value = document.login.username.value.toUpperCase();
document.sendin.password.value = hexMD5(‘$(chap-id)’ + document.login.password.value.toUpperCase() + ‘$(chap-challenge)’);
document.sendin.submit();
return false;
}