lnbits / lnurlp

MIT License
9 stars 8 forks source link

One can set duplicate LNaddress to already existing #7

Closed prusnak closed 1 year ago

prusnak commented 1 year ago

When I am creating a new Pay Link with a LN address that is colliding with already existing one, I'll get this error:

Username already exists. Try a different one.

However, when I am editing an existing Pay Link and I change LN address to something that is already present in the system, no error is shown and the LN address alias is saved.

Luckily, this does not seem to overtake the existing LN address, but still, it would be nice if this was not allowed at all.

Bashy commented 1 year ago

I wrote #8 to address this issue.

Bashy commented 1 year ago

Fixed by #8 (merged yesterday), this issue can be closed