Sfoglia il codice sorgente

Reset clientToken if all accounts are removed.

Daniel Scalzi 6 anni fa
parent
commit
90651d4fbe
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/assets/js/configmanager.js

+ 1 - 0
app/assets/js/configmanager.js

@@ -368,6 +368,7 @@ exports.removeAuthAccount = function(uuid){
                 config.selectedAccount = keys[0]
             } else {
                 config.selectedAccount = null
+                config.clientToken = null
             }
         }
         return true