hotspot username

Hi all,
is any way to configure username to be case insensitive?

I am using Mikrotik 4.17

Thank you

I think so

Nice! how!? :slight_smile:

You can use the javascript toLowerCase() method to convert the username to lower (or upper case using toUpperCase() ) before login.

A lot depends on your login page, but generally you could try something like this:

<form name="login" action="$(link-login-only)" method="post"
onSubmit="document.login.username.value=document.login.username.value.toLowerCase();
$(if chap-id) 
      return doLogin()" 
$(else) 
      return true"
$(endif)>

untested, of course.

If you have a central login page, hosted, you can easily do a similar thing with php or asp on the post data.

I just create 2 different users in hotspot, one “user” and “User” - so if people mistype, it still works! Very easy and foolproof, although I suppose could be a pain if there are a lot of users.

i will test this and report back
Thank you

You cant guess everything a user can type; also users are more than 400 !!