yuki / myVault

A web interface for HashiCorp Vault which allow to edit secrets with a Markdown editor
https://yuki.github.io/myVault/
GNU General Public License v3.0
0 stars 0 forks source link

Make an automatic logout #4

Closed yuki closed 7 years ago

yuki commented 7 years ago

Make an automatic logout if in X minutes there's no movement in the web.

yuki commented 7 years ago

Add the option to change default time to the Options modal. By default could be 30 minutes.

yuki commented 7 years ago

The feature is working, but it could be a problem if the logout is made if you're editing a secret.

So, before making the logout, be sure that the user is not editing a secret...

Of course, it will happen in the window that the user is editing, but the "logout" can be made in another window that the user has opened and is not editing (the logout deletes the token and in the future will revoke it...).

References: #16 , #17