trim username for new sign-up

This commit is contained in:
Axel Uhl committed 2021-11-09 12:25:49 +01:00
1 parent 5fbbf4fc86
commit dea12c5a8b
2 files changed
+11 -1

No files matched your search

@@ -4,6 +4,16 @@
<div id="mainContent">
<h4 class="articleHeadline">What's New - SAP Sailing Analytics</h4>
<div class="innerContent">
<h5 class="articleSubheadline">November 2021</h5>
<ul class="bulletList">
<li>When signing up for a new user account, the user name is now trimmed, meaning that
leading and trailing whitespace / blank characters are removed. For example, if you
sign up for a user name " abc123 " it will become "abc123". This change is inteneded
to help those using touch-screen keyboards with auto-completion where particularly
trailing blanks are often appended, leading to problems logging in to these accounts
if the trailing blank remains part of the username but then are not provided during
the login process.</li>
</ul>
<h5 class="articleSubheadline">October 2021</h5>
<ul class="bulletList">
<li>The <a href="/gwt/DataMining.html">Data Mining</a> module now has additional statistics for a competitor's
@@ -76,7 +76,7 @@ public class CreateAccountViewImpl extends Composite implements CreateAccountVie
usernameUi.addKeyUpHandler(new FieldKeyUpHandler() {
@Override
void updateFieldValue() {
presenter.onChangeUsername(usernameUi.getValue());
presenter.onChangeUsername(usernameUi.getValue().trim());
}
});
nameUi.addKeyUpHandler(new FieldKeyUpHandler() {