Skip to content

Commit 177e654

Browse files
committed
fix: login status
1 parent 6916689 commit 177e654

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

internal/cmdutil/auth_check.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,5 @@ func IsAuthCheckEnabled(cmd *cobra.Command) bool {
3030

3131
func (f *Factory) LoggedIn() bool {
3232
token := f.Config.GetTokenString()
33-
user := f.Config.GetUser()
34-
username := f.Config.GetUsername()
35-
return token != "" && user != "" && username != ""
33+
return token != ""
3634
}

0 commit comments

Comments
 (0)