hiyaryan / the-cdj

The Cognitive Distortion Journal (CDJ) is a smart journaling tool that helps remedy distorted thinking. It can feel impossible to follow the CBT technique of labeling distorted thinking and finding alternative modes of thought (i.e. reframing) while cognitive distortions are occurring. The CDJ does that work for you. -- The CDJ is in beta testing!!
https://thecdj.app
3 stars 0 forks source link

Fix registration bug. #32

Closed hiyaryan closed 9 months ago

hiyaryan commented 9 months ago

Fix bug causing server to crash if email that is already in use is attempted to be registered with. This is due to not properly returning if a new user cannot be created using the register method added to the User model from passport.

Additionally, update registration error messages, making it more vague if a user attempts to register with an existing email, clarifying which special characters can be used for a password, and some minor format updates.