mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Trim whitespace in email field (#9027)
Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
This commit is contained in:
parent
cc8d78d971
commit
483ea9bf77
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue