Neos-Metaverse / NeosPublic

A public issue/wiki only repository for the NeosVR project
193 stars 9 forks source link

Moderation Website Dislikes Spaces In Usernames #3899

Open FlameSoulis opened 1 year ago

FlameSoulis commented 1 year ago

Describe the bug?

I haven't been able to validate or use my moderation account for the longest time. Despite being resent a validation link, clicking on it brings up the main index page.

Upon realizing this, I set up another account with my headless-based account. Despite it having a space in the name, I substituted it for an underscore. This account could complete the registration process without issues and even sign in with the username or email. However, username-based logins no longer work after changing the username to use a space.

Relevant issues

None to be found

To Reproduce

  1. Fill out the registration at: https://moderation.neos.com/account.php?do=create
  2. Ensure the username provided has a space in it ("Bob One", "Hi There", etc.).
  3. Check the email and click on the validation link.
  4. Observe it taking you back to https://moderation.neos.com/index.php.
  5. Forever be unable to validate or change your moderation account password.

Additionally:

  1. With a validated account, change the username to use a space in it and save.
  2. Sign out.
  3. Attempt to sign-in again with the username and be denied.
  4. Only email address sign-ins will now work until reverted.

Expected behavior

  1. Fill out the registration at: https://moderation.neos.com/account.php?do=create
  2. Ensure the username provided has a space in it ("Bob One", "Hi There", etc.).
  3. Check the email and click on the validation link.
  4. Observe it signing you in and taking you to https://moderation.neos.com/tickets.php
  5. All is good.

Additionally:

  1. Change the username on a validated account to use a space.
  2. Sign Out.
  3. Attempt to sign in again with the username.
  4. All is good!

Log Files

No response

Screenshots

No response

How often does it happen?

Always

Does the bug persist after restarting Neos?

Yes

Neos Version Number

N/A

What Platforms does this occur on?

Windows, Linux

Link to Reproduction Item/World

No response

Did this work before?

I Don't Know

If it worked before, on which build?

No response

Additional context

This would also affect the second criteria regarding the username requirement using the Discord name, which can also have spaces.

Reporters

No response