diff --git a/src/config.cpp b/src/config.cpp index e7f505f54a66915a5a833e0c1a63871f0cc52e84..3ec7f508a7673f2d699a02e62cba8b26dcb4b80e 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -101,6 +101,7 @@ bool Config::load(std::istream &ifs, boost::program_options::options_description ("registration.instructions", value()->default_value("Enter your legacy network username and password."), "Instructions showed to user in registration form") ("registration.username_label", value()->default_value("Legacy network username:"), "Label for username field") ("registration.username_mask", value()->default_value(""), "Username mask") + ("registration.allowed_usernanames", value()->default_value(""), "Allowed usernames") ("registration.auto_register", value()->default_value(false), "Register new user automatically when the presence arrives.") ("registration.encoding", value()->default_value("utf8"), "Default encoding in registration form") ("registration.require_local_account", value()->default_value(false), "True if users have to have a local account to register to this transport from remote servers.")