teamcodeyard / tir-api

Web gateway for project TIR
1 stars 1 forks source link

POST - Create user - Handling +01 in email addresses #3

Closed GCsabi closed 9 months ago

GCsabi commented 10 months ago

Steps to reproduce the issue:

  1. Local dev environment must be running
  2. From Postman send the following request to the given endpoint (password doesn't contain special character)
{
    "email": "trolol+01@test.hu",
    "password": "helloworlD1."
}

Expected Result: Successful registration

Actual Result: "message": "Invalid e-mail address"

iujlaki commented 9 months ago

We'd like to deny registrate with the same email address using + sign, so it's a valid scenario