Fix #18: check for existing user on registration

This commit is contained in:
François Voron
2019-10-19 18:31:08 +02:00
parent a5618399a1
commit a4171f8bea
3 changed files with 14 additions and 1 deletions

View File

@@ -26,6 +26,9 @@ Register a new user.
!!! fail "`422 Validation Error`"
!!! fail "`400 Bad Request`"
A user already exists with this email.
## `POST /login`
Login a user.