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

Authenticate the user before setting second passphrase - Closes #980 #985

Merged
merged 6 commits into from
Nov 17, 2017

Conversation

reyraa
Copy link
Contributor

@reyraa reyraa commented Nov 17, 2017

What was the problem?

Running the application with a saved account, we don't ask for the primary passphrase before setting the second passphrase.

How did I fix it?

I've created a new component (Authenticate) which we can run before every dialog to ask for passphrase and/or secondPassphrase, authenticate, then redirect to the intended route.

How to test it?

  • Save an account
  • Refresh the page
  • Click on set second passphrase
  • Now it should ask for primary passphrase

Review checklist

@reyraa reyraa requested a review from ginacontrino November 17, 2017 13:34
@reyraa reyraa self-assigned this Nov 17, 2017
@reyraa reyraa changed the base branch from development to 1.3.0 November 17, 2017 13:35
Copy link
Contributor

@ginacontrino ginacontrino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 👍

@reyraa reyraa merged commit 52d6be2 into 1.3.0 Nov 17, 2017
@reyraa reyraa deleted the 980-second-pass-pre-authenticate branch November 17, 2017 15:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants