Skip to content

Commit

Permalink
LOVE-501 Fixed e-mail regex validation
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrieger-xl committed Jan 9, 2019
1 parent 55e8749 commit c1154ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export class CustomerUpdate extends React.Component<ICustomerUpdateProps, ICusto
validate={{
required: { value: true, errorMessage: translate('entity.validation.required') },
pattern: {
value: '^[^@s]+@[^@s]+.[^@s]+$',
value: '^[^@\s]+@[^@\s]+.[^@\s]+$',
errorMessage: translate('entity.validation.pattern', { pattern: '^[^@s]+@[^@s]+.[^@s]+$' })
}
}}
Expand Down

0 comments on commit c1154ff

Please sign in to comment.