Skip to content

Login page shows misleading error when running without wallet #136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
glowacki-dev opened this issue Nov 7, 2020 · 2 comments
Open

Login page shows misleading error when running without wallet #136

glowacki-dev opened this issue Nov 7, 2020 · 2 comments

Comments

@glowacki-dev
Copy link

It's pretty much a cosmetic thing, but may be misleading to new users. When LiT is configured with lnd instance that has no associated wallet, it will not allow logging in, but will instead claim that the password is incorrect. The message should probably mention the actual issue, which is having no wallet.

To reproduce:

  • run litd on a new machine (or point lnd to a new directory) ./litd --uipassword="somepassword" --lnd-mode=integrated --lnd.bitcoin.active --lnd.bitcoin.mainnet --lnd.bitcoin.node=neutrino
  • Try to login via web interface to get "password is incorrect" error
  • run ./lncli create
  • You should no be able to login using the same credentials
@glowacki-dev
Copy link
Author

The same thing happens when wallet is locked, so I guess it may get be resolved as part of #121

@jamaljsr
Copy link
Member

jamaljsr commented Nov 8, 2020

Thanks for the feedback. I agree we should present a more specific error when the node is locked. I also would like to add the ability to unlock via the UI as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants