Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BUG] As admin, when I delete a user, the delete fails and a new wallet is created for that user (v1.4.0) #3693

@CabtonWithaK

Description

@CabtonWithaK

Describe the bug
As admin, even when I deleted all wallets for a user, the user still cannot be deleted.
A message appears that the user still has a wallet and a wallet is created "automagically" for that user.
In the list of users, he amount of wallets is incremented. (eventhough there's is only 1 visible wallet, the one that was just automagically created for that user)

To Reproduce

  1. Go to users and select a user

  2. Go to the list of wallets and delete each wallet of that user

Image Image
  1. Go back to the user
Image
  1. BUG : when press "delete account" --> An error appears that the user still has active wallets
Image
  1. BUG : In the overview list of users --> the amount of wallets has incremented (see step 3)
Image
  1. BUG: when user is clicked --> a wallet appears to be automagically created
Image

Expected behavior
Successful user delete when all wallets are deleted

Screenshots

Desktop (please complete the following information):

  • LNbits version: 1.4.0

Additional context
In this version of LNBits, it is impossible for an admin to delete a user

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions