hyperlog-core / hyperlog-backend

Backend for hyperlog
0 stars 0 forks source link

Fix #30: Make username/email fields case insensitive and lowercase by default #45

Closed nikochiko closed 4 years ago

nikochiko commented 4 years ago

Fixes #30

Changes:

Note: This PR overwrites some part of the register mutation. So the error log displayed will be slightly different from the last commit https://github.com/Hyperlog/hyperlog-backend/commit/df8dcf6decbd034efff57268dda58564b577c45c in that it won't show the specific username/email that was supplied in case of a unique constraint error.