Skip to content

Commit

Permalink
Merge pull request #6 from go-vela/bug/login
Browse files Browse the repository at this point in the history
Fix bug with login
  • Loading branch information
Neal authored Nov 8, 2019
2 parents 38631b2 + 2afa971 commit b933bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (l *Login) GetPassword() string {
if l == nil || l.Password == nil {
return ""
}
return *l.Username
return *l.Password
}

// GetOTP returns the Username field.
Expand Down

0 comments on commit b933bba

Please sign in to comment.