Explorar o código

Don't allow logout for the anonymous demo

JC Brand %!s(int64=8) %!d(string=hai) anos
pai
achega
cfd1ec5e66
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      demo/anonymous.html

+ 1 - 0
demo/anonymous.html

@@ -52,6 +52,7 @@
 <script>
     require(['converse'], function (converse) {
         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
                                           // roster contacts can be invited
             allow_contact_requests: false, // Contacts from other servers cannot,