Nickserv module doesn't save password in webadmin interface [$5 awarded] #108

Closed
opened 2026-10-05 03:59:24 +02:00 by adam · 4 comments
Owner

I can save arguments for other modules in the webinterface but it just doesn't stick for the nickserv module. If i set argument (which is the password for nickserv) in znc.conf it works, but when i log into the webinterface it shows it as empty again. This means that when i save the configuration through the webinterface the password is gone again.

--- The **[$5 bounty](https://www.bountysource.com/issues/662-nickserv-module-doesn-t-save-password-in-webadmin-interface?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** on this issue has been claimed at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).
I can save arguments for other modules in the webinterface but it just doesn't stick for the nickserv module. If i set argument (which is the password for nickserv) in znc.conf it works, but when i log into the webinterface it shows it as empty again. This means that when i save the configuration through the webinterface the password is gone again. ## <bountysource-plugin> --- The **[$5 bounty](https://www.bountysource.com/issues/662-nickserv-module-doesn-t-save-password-in-webadmin-interface?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** on this issue has been claimed at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github). </bountysource-plugin> <!-- github-sync-id:4547794 -->
adam closed this issue 2026-10-05 03:59:24 +02:00
Author
Owner

Did you try if znc is able to authenticate with nickserv? I bet it will work

The nickserv module does accept a password via its module arguments. However, module arguments are displayed in quite some places, so having a password in there is bad. For this reason, the nickserv module saves the password elsewhere and then empty its module arguments.

Did you try if znc is able to authenticate with nickserv? I bet it will work The nickserv module does accept a password via its module arguments. However, module arguments are displayed in quite some places, so having a password in there is bad. For this reason, the nickserv module saves the password elsewhere and then empty its module arguments. <!-- github-comment-id:5670279 -->
Author
Owner

It's not obvious from webadmin itself. So it should be changed to be obvious. Add a message that nickserv argument was hidden?

It's not obvious from webadmin itself. So it should be changed to be obvious. Add a message that nickserv argument was hidden? <!-- github-comment-id:5673375 -->
Author
Owner

@multikatt This is expected behavior, it's for security.

@multikatt This is expected behavior, it's for security. <!-- github-comment-id:6790908 -->
Author
Owner

Hm, I fixed this a while ago in 5e568a30f2 but forgot about existence of this issue… It's even released already in 1.2

Hm, I fixed this a while ago in 5e568a30f2d7e4eaefd204ea0626226c481d9ec3 but forgot about existence of this issue… It's even released already in 1.2 <!-- github-comment-id:40862417 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#108