Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split up setPassword #26

Closed
Terreii opened this issue Jun 13, 2018 · 0 comments · Fixed by #46
Closed

Split up setPassword #26

Terreii opened this issue Jun 13, 2018 · 0 comments · Fixed by #46

Comments

@Terreii
Copy link
Owner

Terreii commented Jun 13, 2018

Split up the cryptoStore.setPassword() method into a firstSetup() and a unlock() methods.

  • firstSetup should create a salt document and fail if one already exists.
  • unlock should not create a salt doc. But if none exists, sync if online, and fail if still none exists.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant