AmbireTech / adex-platform

AdEx Platform UI
https://platform.adex.network
GNU General Public License v3.0
57 stars 19 forks source link

Frotend does not validate email address properly #354

Closed TRtomasz closed 4 years ago

TRtomasz commented 4 years ago

Describe the bug It is possible to try to register email with characters outside the latin alphabet (ĄŻĆÓŁ...)

To Reproduce Steps to reproduce the behavior:

  1. Go to platform
  2. Click on register
  3. Scroll down to type email with characters outside latin alphabet
  4. Relayer will return internal server error
  5. Try to log in using that email address
  6. Relayer will return 500 error

Expected behavior

  1. Verify email adress characters
  2. If account creating is not successful do not add email to the user logins list visible on the right side

Screenshots image

image

ivopaunov commented 4 years ago

reopen it because it was not fixed correctly with https://github.com/AdExNetwork/adex-platform/pull/368/commits/5df81930db1dc73bf31a3506e0729f03e2310b4c