Closed ibukunfolay closed 1 year ago
Why would you want to do this? The DB should be responsible for enforcing the uniqueness of emails
I believe the db does. howeverno specific error is thrown to let an unsuspecting user know what the problem is. hence, the error message.
Updated the service to check if email is already in use before creating user