1
0

feat: refresh expired access tokens in one goroutine

This commit is contained in:
James Houlahan
2020-04-16 14:44:59 +02:00
parent 40e96b9d1e
commit 3f32fd95e0
6 changed files with 56 additions and 34 deletions

View File

@ -528,7 +528,6 @@ func (u *User) Logout() (err error) {
u.wasKeyringUnlocked = false
u.unlockingKeyringLock.Unlock()
// TODO: Is this necessary or could it be done by ClientManager when a nil auth is received?
u.client().Logout()
if err = u.credStorer.Logout(u.userID); err != nil {