How to make capital insensitive username possible for default Mendix login?

1
Hi guys   There is a wish to make the username capital insensitive when logging. I was wondering how I can reach this the best (simple,secure no heavy lifting involved), i was thinking to:   1 - Custom 2 steps login whereby the username is filled in firstly, so that everything is made toLowerCase, for the 2nd screen where the password is filled in (like gmail). But I am wondering whether I can fill the default "userIdLoginTextBox"? 2 - Custom login functionality whereby in logic the user gets validated and we make a session for that user..   What do you think?
asked
3 answers
2

Hi Enzo,

You could use the login form widget (https://appstore.home.mendix.com/link/app/87/Mendix/Login-form). There is a Casehandling tab which allows you to specify whether you want to convert username to lowercase, uppercase or do nothing.

Good luck,

Martin

answered
1

Hi Enzo, 

Make sure all usernames are stored in lower case and change the login.js script in your theme to change any input in the username field to lower case before submitting to the server should be enough. 

Best, 

Mitchel 

answered
-1

Lets try this one ! Turn off the autocapitalize option in login.js file. It will work.

 

answered