anitab-org / stem-diverse-tv-cms

CMS for managing content of STEM Diverse TV
https://anitab-org.github.io/stem-diverse-tv-cms/
GNU General Public License v3.0
4 stars 22 forks source link

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

Open Rahulm2310 opened 3 years ago

Rahulm2310 commented 3 years ago

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):

Additional context

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

aparnaabraham commented 3 years ago

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

Rahulm2310 commented 3 years ago

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