spring2885 / backend

Backend Repository for Spring2885 (REST + Server Side Java + Database)
1 stars 0 forks source link

Reset JSON object isn't used #217

Closed rob2885 closed 8 years ago

rob2885 commented 8 years ago

Yet in the swagger definition for /auth/forgot and /auth/reset the API claims to be returning this JSON object. This is a bug

rob2885 commented 8 years ago

From auth/forgot:

Response Class (Status 200)

request for new password sent.

    Model
    Example Value

{
  "email": "string",
  "token": "string",
  "new_password": "string"
}
rob2885 commented 8 years ago

@mktecson can you handle this?

mktecson commented 8 years ago

that should only send an email with the token in it.