diff options
author | John Smith <mrdoctorwho@helldev.net> | 2019-02-01 20:21:54 +0300 |
---|---|---|
committer | John Smith <mrdoctorwho@helldev.net> | 2019-02-01 20:21:54 +0300 |
commit | b40984006f9410d1fc4db5df30dfd9d325753721 (patch) | |
tree | 17d9c55e950654aba2f34521f4e74a8db1d7861e /Config_example.txt | |
parent | dbec2a5460739af4dac8ba3fdc51d6133380178b (diff) |
add ability to disable registration
Diffstat (limited to 'Config_example.txt')
-rw-r--r-- | Config_example.txt | 7 |
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. |