feat: add username and password login (#418)
* feat: add username and password login * fix: make sure cookie is not empty * chore: go mod tidy * fix: prevent local config from influencing tests * fix: small cleanup on error handling * fix: remove unnecessary trim
This commit is contained in:
@ -18,6 +18,7 @@ type Config struct {
|
||||
Org string `toml:"org" json:"org"`
|
||||
Active bool `toml:"active,omitempty" json:"active,omitempty"`
|
||||
PreviousActive bool `toml:"previous,omitempty" json:"previous,omitempty"`
|
||||
Cookie string `toml:"cookie,omitempty" json:"cookie,omitempty"`
|
||||
}
|
||||
|
||||
// DefaultConfig is default config without token
|
||||
|
Reference in New Issue
Block a user