Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: it's possible to set password with spaces by recovery password #2069

Open
Dmitrydrum opened this issue Feb 11, 2025 · 0 comments
Open
Labels

Comments

@Dmitrydrum
Copy link

Dmitrydrum commented Feb 11, 2025

Summary

User cannot set any space character when register an account, but user can do it by password recovery.
Current version: babf5ed
Prerequisites:
User is not logged in
Sign in page is opened https://codebattle.hexlet.io/session/new?locale=en&next=%2F

Reproduction steps

1. Click on "Forgot your password"
2. Input existing account's email
3. Click on "Submit" button
4. Check your email
5. Open the link from received letter
6. Input password " 12  34"
7. Click on "Save" button

Expected result

The password doesn't change. User gets validation error.

Actual result

The password is changed.

Browsers

Chrome

OS

Windows

@Dmitrydrum Dmitrydrum added the bug label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant