diff --git a/data/default_config.cfg b/data/default_config.cfg
index dd98e493d9a585238c26755803c61b9793c8d816..d8ec370588a4e75dcbb403859c465de53ffb1ed6 100644
--- a/data/default_config.cfg
+++ b/data/default_config.cfg
@@ -11,7 +11,7 @@
# account on a server. This is optional and useful only for some features,
# like room administration, nickname registration.
# The 'server' option will be ignored if you specify a JID (Jabber identifier)
-# It should be in the form nickname@server.tld
+# It should be in the form nickname@server.tld or nickname@server.tld/resource
jid =
# A password is needed only if you specified a jid. It will be ignored otherwise
@@ -49,12 +49,6 @@ highlight_on =
# Colon-separated list of plugins to load on startup
plugins_autoload =
-# the resource you will use
-# If it's empty, your resource will be chosen (most likely randomly) by the server
-# It is not recommended to use a resource that is easy to guess, because it can lead
-# to presence leak.
-resource =
-
# The server used for anonymous connection.
# Make sure the server you're using accepts anonymous authentication
#server = anon.jeproteste.info
diff --git a/doc/source/commands.rst b/doc/source/commands.rst
index 8c0e0d5b70013a2fc27a849f064e8b7a3f4d33c3..64a2f033c914cf4d04f322b2271bcc8cdda002cb 100644
--- a/doc/source/commands.rst
+++ b/doc/source/commands.rst
@@ -138,7 +138,7 @@ These commands work in *any* tab.
Set the value to the option in
your configuration file. You can, for example, change your default nickname
- by doing "/set default_nick toto" or your resource with "/set resource
+ by doing "/set default_nick toto" or your password with "/set password
blabla". Doing so will write in the main config file, and in the main
section ([Poezio]). But you can also write to another section, with ``/set
bindings M-i ^i``, to a plugin configuration with ``/set mpd_client| host
@@ -152,7 +152,7 @@ These commands work in *any* tab.
**Usage:** ``/set_default [section]