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

New feature "transfer to new account" #140

Open
flash1293 opened this issue Nov 22, 2018 · 0 comments
Open

New feature "transfer to new account" #140

flash1293 opened this issue Nov 22, 2018 · 0 comments
Labels

Comments

@flash1293
Copy link
Owner

flash1293 commented Nov 22, 2018

In order to save data over from an account which may be compromised.

  • client: Add new menu point in sidebar: "Logout all other devices (you will need to redistribute the sync link again)"
  • client: On click dispatch an appropriate action which performs a POST /token for a new account. In the payload add object: transferFromAccount: { username, password }. Don't purge the state, but just replace username/password/token.
  • server: Check whether username/password in transfer from account are correct and copy stream data into new key if this is the case. Then delete the old stream and the old password hash (to free disk space)
@flash1293 flash1293 added the tech label Nov 22, 2018
@flash1293 flash1293 changed the title Switch to cookie sessions instead of JWT Make tokens revokable Nov 23, 2018
@flash1293 flash1293 added feature and removed tech labels Nov 23, 2018
@flash1293 flash1293 changed the title Make tokens revokable New feature "transfer to new account" Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant