Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

Add wsapi complete_transition #2678

Closed
ozten opened this issue Nov 5, 2012 · 2 comments
Closed

Add wsapi complete_transition #2678

ozten opened this issue Nov 5, 2012 · 2 comments

Comments

@ozten
Copy link
Contributor

ozten commented Nov 5, 2012

Add a new wsapi complete_transition - indicates that a user has been displayed the "transition to primary" screen.

AUTHENTICATED (assertion?) POST request

arguments: "email"

Side affect - will update the ? with ?

returns JSON object { success: boolean }
@ozten
Copy link
Contributor Author

ozten commented Nov 13, 2012

From lloyd's comments on a commit:

I think you should:

  1. verify the the currently authenticate user owns the email address in question
  2. verify the email address specified is a primary email address
  3. update the database! set email.lastUsedAs to primary

Then I think in cert_email we need to update database and set email.lastUsedAs to secondary

@lloyd
Copy link
Contributor

lloyd commented Dec 5, 2012

landed in 781184b

@lloyd lloyd closed this as completed Dec 5, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants