Skip to content

Commit b505250

Browse files
login warning
1 parent 0c6b4fc commit b505250

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/auth/kas.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ func (a KasAuthenticator) GetNewAuthTokensWithRefresh(refreshToken string) (*ent
5656
if err == nil {
5757
filePath := homeDir + "/.brev/.invalid-refresh-token"
5858
_ = os.WriteFile(filePath, []byte(refreshToken), 0o600)
59+
fmt.Println("WARN: malformed refresh token, logging out")
5960
}
6061
return nil, nil
6162
}

0 commit comments

Comments
 (0)