Trim whitespace in email field (#9027)

Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
pull/28788/head^2
Ankur 2022-07-09 02:10:52 +05:30 committed by GitHub
parent cc8d78d971
commit 483ea9bf77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ export default class RegistrationForm extends React.PureComponent<IProps, IState
private onEmailChange = ev => {
this.setState({
email: ev.target.value,
email: ev.target.value.trim(),
});
};