agorafoundation / agora

An Open source, closed loop, user centric, cloud based learning and research platform
https://freeagora.org/
BSD 3-Clause "New" or "Revised" License
87 stars 13 forks source link

Creating Accounts - Password Symbol Issue #550

Open kylecourounis opened 5 months ago

kylecourounis commented 5 months ago

When it asks for a symbol when creating your password, you are unable to use a dash ("-"). The browser won't let you continue, but it won't tell you why. This is important for user retention.

AnanyaPaliwal01 commented 5 months ago

Hi @kylecourounis, I think we can fix this by adding a span in the list of spans that displays the special characters that are not permitted, what do you think about this @briangormanly, something like this <span id="special" class="invalid"><b>Special characters not allowed </b>_-+=^</span><br />, I also observed that these special characters _, -,+, = & ^ are also not allowed and for these as well no message is shown

Image: image

AnanyaPaliwal01 commented 5 months ago

Another solution could also be that we allow _, -, +, = & ^ in passwords, what are your thoughts on this @kylecourounis, @briangormanly

AnanyaPaliwal01 commented 5 months ago

On the website, we have directly displayed the regex expression like this A special character ($@$!%*#?&) rather we can remove the duplicate $ sign and refactor it as this A special character !@$#%&*?

Image: image

AnanyaPaliwal01 commented 5 months ago

Hi @briangormanly we can discuss what should be done here, and then you can assign me this issue, as I would like to work on it and see it through completion