json-server-auth icon indicating copy to clipboard operation
json-server-auth copied to clipboard

Is there a way to register user with field other than email?

Open dipbazz opened this issue 2 years ago • 0 comments

I want the ability to register a user based on other fields like username or phone number instead of email. How can I achieve that?

POST /register
{
  "username": "olivier",
  "password": "bestPassw0rd"
}

dipbazz avatar Feb 25 '22 07:02 dipbazz