Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

APM logon page username field - Space

CDG
Nimbostratus
Nimbostratus

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 1

Walter_Kacynski
Cirrostratus
Cirrostratus

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}]]