Forum Discussion

CDG's avatar
CDG
Icon for Nimbostratus rankNimbostratus
Nov 15, 2018

APM logon page username field - Space

Hi,

 

Is is the situation, users access our logon page from an iPhone. The iPhone autocomplete the username field with a space at the end. In the APM logs, we see that the login was rejected because of the space (boby @mydomain.com). Is there a way to remove space from the username field (whitespace, trim) without advanced customization? If not...has anyone changed the login page to remove white space at the beginning and end of the Username field?

 

Thank you

 

1 Reply

  • You can use a variable assign agent within the VPE to re-assign session.logon.last.username via a tcl command: return [string trim [mcget {session.logon.last.username}]]