stellar / freighter

Stellar browser extension
81 stars 25 forks source link

Feature/maintain password 2 #1677

Closed piyalbasu closed 1 week ago

piyalbasu commented 1 week ago

Re-roll of PR #1630

https://github.com/stellar/freighter/issues/1495

This will prevent the user from having to re-auth when they switch between accounts. I actually didn't really need to make any fundamental changes since we already hold the password in the memory. I'm just using the stored password to unlock the new account's keystore when we change accounts.

Also, making sure to clear out the stored password when the session time outs