Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Trim whitespace in email field (#9027)
Browse files Browse the repository at this point in the history
Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
  • Loading branch information
ankur12-1610 authored Jul 8, 2022
1 parent cc8d78d commit 483ea9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/auth/RegistrationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
});
};

Expand Down

0 comments on commit 483ea9b

Please sign in to comment.