Why does ERC connect to ZNC without password, even if it's in .authinfo?
I faced a problem where I had a self-hosted ZNC instance and I was trying to connect to it using Emacs ERC. My password for ZNC was placed in the .authinfo file that Emacs auth-source should read, but ERC never read that password and displayed the Logging in without password message in the echo area. Here’s how I was trying to connect:
(erc-tls :server "myzncinstance.com" :user "myusername/LiberaChat")
Note the ZNC specific username format, where myusername is the name of the user within ZNC, and LiberaChat is the name of the network defined within ZNC for that particular user.