UnknownSilicon/cs3733-what2think

RegisterUser creates an invalid user when given malformed input

Closed this issue · 0 comments

When given malformed input, RegisterUser creates a user in the database with a blank name and a blank password. This causes the lambda to succeed when given malformed input.

Tested input to the API:

{
  "name": "abc",
   "password", "pass"
}