clear reg date and settings during logout

This commit is contained in:
Shivaram Lingamneni 2020-02-21 06:36:32 -05:00
parent fd90893fa6
commit 904fa9653c
1 changed files with 2 additions and 0 deletions

View File

@ -318,6 +318,8 @@ func (client *Client) Logout() {
client.account = ""
client.accountName = ""
client.alwaysOn = false
client.accountRegDate = time.Time{}
client.accountSettings = AccountSettings{}
client.stateMutex.Unlock()
}