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: name field in register form accepts space input #50

Open
Rahulm2310 opened this issue Mar 22, 2021 · 2 comments
Open

Bug: name field in register form accepts space input #50

Rahulm2310 opened this issue Mar 22, 2021 · 2 comments
Assignees
Labels
Category: Coding Changes to code base or refactored code that doesn't fix a bug. First Timers Only Good for newcomers. Type: Bug Bug or Bug fixes.

Comments

@Rahulm2310
Copy link
Contributor

Rahulm2310 commented Mar 22, 2021

Describe the bug

Although we allow spaces between text in the name field in register form but only a number of spaces should not be accepted as valid input.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://anitab-org.github.io/stem-diverse-tv-cms/register
  2. Enter spaces in name input
  3. See error

Expected behavior

Name field must not accept a number of spaces as valid input.

Screenshots

stem-name

Desktop (please complete the following information):

  • OS: Any
  • Browser: Any
  • Version: Any

Additional context

This behaviour is normal in case of password field as we hash the input.

@Rahulm2310 Rahulm2310 changed the title Bug: name and password fields in register form accepts space input Bug: name and password fields in register/login form accepts space input Mar 22, 2021
@Rahulm2310 Rahulm2310 added Category: Coding Changes to code base or refactored code that doesn't fix a bug. First Timers Only Good for newcomers. Status: Available Issue was approved and available to claim or abandoned for over 3 days. Type: Bug Bug or Bug fixes. labels Mar 24, 2021
@Rahulm2310 Rahulm2310 changed the title Bug: name and password fields in register/login form accepts space input Bug: name field in register form accepts space input Mar 24, 2021
@aparnaabraham
Copy link

Hello @Rahulm2310, Can you assign me to this issue?

@Rahulm2310
Copy link
Contributor Author

Sure @aparnaabraham. Please complete the necessary task #60 before working on the fix ☺️

@Rahulm2310 Rahulm2310 removed the Status: Available Issue was approved and available to claim or abandoned for over 3 days. label Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Coding Changes to code base or refactored code that doesn't fix a bug. First Timers Only Good for newcomers. Type: Bug Bug or Bug fixes.
Projects
None yet
Development

No branches or pull requests

4 participants