Skip to content

Commit

Permalink
removed v1-login to possibly fix SoMuchForSubtlety#169
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas van Elburg committed Jun 14, 2021
1 parent 273647c commit ca30d4e
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 ca30d4e

Please sign in to comment.