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

Commit

Permalink
removed v1-login to possibly fix #169 (#171)
Browse files Browse the repository at this point in the history
Co-authored-by: Bas van Elburg <b.van.elburg@global-datacenter.nl>
  • Loading branch information
Skinza and Bas van Elburg committed Jun 21, 2021
1 parent 273647c commit 5f7f777
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/ui/state.go
Expand Up @@ -161,11 +161,7 @@ func (s *UIState) loginWithStoredCredentials() error {

func (s *UIState) login(username, pw, token string) error {
// todo save auth token in credential store
err := s.v1.Login(username, pw, token)
if err != nil {
return err
}
err = s.v2.Authenticate(username, pw)
err := s.v2.Authenticate(username, pw)
return err
}

Expand Down

0 comments on commit 5f7f777

Please sign in to comment.