sparko icon indicating copy to clipboard operation
sparko copied to clipboard

Auth failure messages spam the console.

Open cmdruid opened this issue 3 years ago • 2 comments

If I have a browser window open to the web wallet endpoint, and the wallet is not logged in (either I haven't logged in yet, or my session expired), the message "auth failed at /rpc" is printed to the console, even though no attempt to login has been made.

This problem becomes annoying when the browser refreshes the page, or I am clicking through tabs. No attempts to login are being made, but "auth failed" is repeatedly spammed to the console.

Not a big problem, but it gets quite spammy after a while. Everything else works great!

cmdruid avatar May 22 '22 20:05 cmdruid

Thank you. That's likely something that remained from debugging sessions. Can you submit a PR fixing it?

fiatjaf avatar May 22 '22 20:05 fiatjaf

Haven't learned go yet, but I will give it a shot!

cmdruid avatar May 23 '22 05:05 cmdruid