Reset clientToken if all accounts are removed.

This commit is contained in:
Daniel Scalzi 2019-01-20 22:29:05 -05:00
parent 3e20b1f63a
commit 90651d4fbe
No known key found for this signature in database
GPG Key ID: D18EA3FB4B142A57

View File

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