peakshift / makers.bolt.fun

https://makers.bolt.fun
GNU General Public License v3.0
31 stars 21 forks source link

Fix/show currently logged in wallet #139

Closed MTG2000 closed 2 years ago

MTG2000 commented 2 years ago

Currently, in the user wallet management tab, the user is able to delete any key as long as at least one is left, but the problem is when he deletes his currently logged in with key, then he will be logged out immediately from his account.

And this might not be a bad thing, but he might have lost access to his other wallet, so now he is locked forever out of his account.

So the proposed solution is to only allow the user to delete accounts that don't include the currently logged in with one. If he wants to delete this one, he will need to login to his account from one of his other wallets, and delete this key from there.

netlify[bot] commented 2 years ago

Deploy Preview for makers-bolt-fun-preview ready!

Name Link
Latest commit c0b27253f9d0c48b4bf983a55c9940a665aaf634
Latest deploy log https://app.netlify.com/sites/makers-bolt-fun-preview/deploys/630dc179d481d80008acd3aa
Deploy Preview https://deploy-preview-139--makers-bolt-fun-preview.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] commented 2 years ago

Deploy Preview for makers-bolt-fun-stories ready!

Name Link
Latest commit c0b27253f9d0c48b4bf983a55c9940a665aaf634
Latest deploy log https://app.netlify.com/sites/makers-bolt-fun-stories/deploys/630dc179e95bd30009a6da37
Deploy Preview https://deploy-preview-139--makers-bolt-fun-stories.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.