Bladeren bron

Fixes #1576

When using `auto_login` and logging out, Converse gets stucks with an infinite spinner.
JC Brand 6 jaren geleden
bovenliggende
commit
f20aee6906
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 1 0
      CHANGES.md
  2. 1 1
      src/templates/login_panel.html

+ 1 - 0
CHANGES.md

@@ -28,6 +28,7 @@
 - #1554: Room auto-configuration broke if the config form contained fields with type `fixed`
 - #1558: `this.get` is not a function error when `forward_messages` is set to `true`.
 - #1572: In `fullscreen` view mode the top is cut off on iOS
+- #1576: Converse gets stuck with spinner when logging out with `auto_login` set to `true`
 
 - **Breaking changes**:
 - Rename `muc_disable_moderator_commands` to [muc_disable_slash_commands](https://conversejs.org/docs/html/configuration.html#muc-disable-slash-commands).

+ 1 - 1
src/templates/login_panel.html

@@ -4,7 +4,7 @@
             <p class="feedback-subject">{{{ o.conn_feedback_subject }}}</p>
             <p class="feedback-message {[ if (!o.conn_feedback_message) { ]} hidden {[ } ]}">{{{o.conn_feedback_message}}}</p>
         </div>
-        {[ if (o.auto_login || o._converse.CONNECTION_STATUS[o.connection_status] === 'CONNECTING') { ]}
+        {[ if (o._converse.CONNECTION_STATUS[o.connection_status] === 'CONNECTING') { ]}
             <span class="spinner fa fa-spinner centered"/>
         {[ } else { ]}
             {[ if (o.authentication == o.LOGIN || o.authentication == o.EXTERNAL) { ]}