Răsfoiți Sursa

Don't allow logout for the anonymous demo

JC Brand 8 ani în urmă
părinte
comite
cfd1ec5e66
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      demo/anonymous.html

+ 1 - 0
demo/anonymous.html

@@ -52,6 +52,7 @@
 <script>
 <script>
     require(['converse'], function (converse) {
     require(['converse'], function (converse) {
         converse.initialize({
         converse.initialize({
+            allow_logout: false, // No point in logging out when we have auto_login as true.
             allow_muc_invitations: false, // Doesn't make sense to allow because only
             allow_muc_invitations: false, // Doesn't make sense to allow because only
                                           // roster contacts can be invited
                                           // roster contacts can be invited
             allow_contact_requests: false, // Contacts from other servers cannot,
             allow_contact_requests: false, // Contacts from other servers cannot,