summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-02-08 09:44:39 -0800
committerLance Stout <lancestout@gmail.com>2013-02-08 09:44:39 -0800
commit9a6bfc66141dfc79de0bc31294def76cb876b4db (patch)
tree12f8342402bca05c97e8e775d68e693b70ec4ef0 /examples
parent79914fb56ba68153f2fcf779bf7be0be4e25f0a7 (diff)
downloadslixmpp-9a6bfc66141dfc79de0bc31294def76cb876b4db.tar.gz
slixmpp-9a6bfc66141dfc79de0bc31294def76cb876b4db.tar.bz2
slixmpp-9a6bfc66141dfc79de0bc31294def76cb876b4db.tar.xz
slixmpp-9a6bfc66141dfc79de0bc31294def76cb876b4db.zip
Enable force_registration in the register account example.
Diffstat (limited to 'examples')
-rw-r--r--examples/register_account.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/register_account.py b/examples/register_account.py
index 2badef64..422e5602 100644
--- a/examples/register_account.py
+++ b/examples/register_account.py
@@ -155,7 +155,7 @@ if __name__ == '__main__':
# Some servers don't advertise support for inband registration, even
# though they allow it. If this applies to your server, use:
- # xmpp['xep_0077'].force_registration = True
+ xmpp['xep_0077'].force_registration = True
# If you are working with an OpenFire server, you may need
# to adjust the SSL version used: