Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mrDoctorWho/vk4xmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Smith <mrdoctorwho@helldev.net>2019-02-01 20:21:54 +0300
committerJohn Smith <mrdoctorwho@helldev.net>2019-02-01 20:21:54 +0300
commitb40984006f9410d1fc4db5df30dfd9d325753721 (patch)
tree17d9c55e950654aba2f34521f4e74a8db1d7861e /Config_example.txt
parentdbec2a5460739af4dac8ba3fdc51d6133380178b (diff)
add ability to disable registration
Diffstat (limited to 'Config_example.txt')
-rw-r--r--Config_example.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Config_example.txt b/Config_example.txt
index fe03bb5..b154742 100644
--- a/Config_example.txt
+++ b/Config_example.txt
@@ -7,7 +7,7 @@ Host = "localhost"
# Connection server (usually equals hostname).
# If your transport runs on the same server as the jabber-server
-# Then it's just "localhost".
+# then it's just "localhost".
Server = "localhost"
# Connection port (as set in Jabber server config).
@@ -63,6 +63,11 @@ URL_ACCEPT_APP = "http://jabberon.ru/vk4xmpp.html#%d"
# Image that will be used if the transport can't recieve image from VK.
URL_VCARD_NO_IMAGE = "https://raw.githubusercontent.com/mrDoctorWho/vk4xmpp/master/vk4xmpp.png"
+# Allow registration.
+# Set to false if you want to forbid registration of new users.
+# Old users will be able to update their registration.
+ALLOW_REGISTRATION = True
+
#! Danger zone.
#! Change the settings below ONLY IF YOU KNOW WHAT ARE YOU DOING! DEFAULT VALUES ARE RECOMMENDED!
# You were warned.