JamesAC42 / shovel

productivity tool for going deep in your work
https://ovel.sh
Other
35 stars 4 forks source link

Fixed empty names during account creation #8

Closed 4rnv closed 5 months ago

4rnv commented 5 months ago

Fixes #7

The first name, last name and username inputs are stripped of all whitespace characters using trim(), so now accounts with empty usernames can no longer be made.

JamesAC42 commented 5 months ago

Hi, thank you for finding this and making the pull request! If you don't mind, could you also include a server check for this? That would be in controllers/createUser.js

4rnv commented 5 months ago

I have added a check in the controllers file.