Skip to content
This repository was archived by the owner on Feb 10, 2023. It is now read-only.

Commit 5f7f777

Browse files
SkinzaBas van Elburg
andauthored
removed v1-login to possibly fix #169 (#171)
Co-authored-by: Bas van Elburg <b.van.elburg@global-datacenter.nl>
1 parent 273647c commit 5f7f777

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

internal/ui/state.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,7 @@ func (s *UIState) loginWithStoredCredentials() error {
161161

162162
func (s *UIState) login(username, pw, token string) error {
163163
// todo save auth token in credential store
164-
err := s.v1.Login(username, pw, token)
165-
if err != nil {
166-
return err
167-
}
168-
err = s.v2.Authenticate(username, pw)
164+
err := s.v2.Authenticate(username, pw)
169165
return err
170166
}
171167

0 commit comments

Comments
 (0)