anthdm / superkit

MIT License
1.03k stars 88 forks source link

catch same email being used to signup. #23

Open gedw99 opened 4 months ago

gedw99 commented 4 months ago

occurs when you use the same email for signing twice.

need to catch this. It goes to 500 currently with

 types.go:58 UNIQUE constraint failed: users.email

We need to return a validation error "saying email already in use."