forked from External/ergo
clear reg date and settings during logout
This commit is contained in:
parent
fd90893fa6
commit
904fa9653c
1 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue