# 0 to disable queueing and -1 to make the queue size unlimited.
max_out_chat_queue_size (Maximum size of the out chat queue) int 20
+# Enable register confirmation when connecting to server.
+# If disabled, new account will be registered automatically.
+enable_register_confirmation (Enable register confirmation) bool true
+
[*Advanced]
# Timeout for client to remove unused map data from memory.
settings->setDefault("enable_client_modding", "false");
settings->setDefault("max_out_chat_queue_size", "20");
settings->setDefault("pause_on_lost_focus", "false");
+ settings->setDefault("enable_register_confirmation", "true");
// Keymap
settings->setDefault("remote_port", "30000");
// Authenticate using that method, or abort if there wasn't any method found
if (chosen_auth_mechanism != AUTH_MECHANISM_NONE) {
if (chosen_auth_mechanism == AUTH_MECHANISM_FIRST_SRP
- && !m_simple_singleplayer_mode) {
+ && !m_simple_singleplayer_mode
+ && g_settings->getBool("enable_register_confirmation")) {
promptConfirmRegistration(chosen_auth_mechanism);
} else {
startAuth(chosen_auth_mechanism);