pixelated / pixelated-user-agent

User facing components of Pixelated: a JavaScript single page app and a RESTful service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validate recovery codes match for user

anikarni opened this issue · comments

To ensure the recovery code is correct before asking the user to create new password.

Design: https://projects.invisionapp.com/share/YXB1ZMJBG#/screens/226009153 (third screen)

Acceptance Criteria

When I submit the admin and user recovery code, I should see a message telling me whether my code was correct or not before setting my password.

In Scope

  • Call bonafide after submitting recovery codes
  • Throw error in bonafide if code is incorrect
  • Throw different error if password not set
  • Treat two different errors above in the UA and show different messages depending on whether code is correct or not

Out of Scope

  • Implementing the endpoints in bonafide

Depends on

#935