stellar / freighter

Stellar browser extension
81 stars 25 forks source link

[DO NOT MERGE] check for password in redux when switching account #1630

Closed piyalbasu closed 1 week ago

piyalbasu commented 2 weeks ago

1495

Let's hold this for the next release as we've already QA'ed the 5.25.0 release

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