hexlet-codebattle / codebattle

Codebattle - Game for programmers, where you solved algorithmic problems with other players in real time. You can fight with other players in single player mode or join massive tournaments.
https://codebattle.hexlet.io/
571 stars 207 forks source link

Bug: Invalid warning about invalid email #1969

Open fraythe opened 1 month ago

fraythe commented 1 month ago

Summary

Warning 'Can't contain special symbols' instead of 'Invalid email'

Reproduction steps

1. Open the main page of the site
2. Click on 'sign up'
3. Enter the nickname
4. Enter email 'joohndee@mail.r'
5. Enter the password
6. Repeat the password

Expected result

Warning 'Invalid email'

Actual result

Warning 'Can't contain special symbols'

Current version

8a20565

Browsers

Chrome

OS

Mac

Andrey-khb commented 1 month ago

Warning 'Can't contain special symbols' instead of 'Invalid email'

Google Chrome, Version 128.0.6613.114, (64 bit), Win 11 Pro CodeBattle (Current version: 8a20565)

Reproduction steps Nickname = test_Cbattle Email = khaba@yan.r Password = 123456 Password Confirmation = 123456

Actual result = Can't contain special symbols

bug1