freedit-org / freedit

The safest and lightest forum, powered by rust.
https://freedit.eu
MIT License
202 stars 22 forks source link

Some problems encountered when running locally #77

Closed Yakumo-Yukari closed 1 year ago

Yakumo-Yukari commented 1 year ago

123 11113

  1. Joe and joe will be identified as 2 users

  2. When logging in, if you enter a space, you will be prompted with a wrong password, and the extra space will not be deleted automatically

  3. Can't login after registration, after clicking login, it will jump to the home page but the user is not in login status

freedit-dev commented 1 year ago

try to log in with user_id

freedit-dev commented 1 year ago

https://github.com/freedit-org/freedit/blob/5d8e70ee25354493bed9abfa5a7fbec9c4ae55ec/templates/signup.html#L19

related to pattern="^\D\w*"