lnbits / usermanager

Generate users and wallets
MIT License
4 stars 8 forks source link

add auth to create endpoint, new update endpoint #7

Closed jackstar12 closed 1 year ago

jackstar12 commented 1 year ago

Add support for updating users, especially useful with the extra column.

Also change the create endpoint to use the wallet key instead of bare id. I'm not entirely sure about this change because it might break for people who are using the endpoint, only providing the admin id and not authenticating with an api key but I feel like it should really be done through an api key (just like the other endpoints).