undo overzealous find/replace
This commit is contained in:
parent
56522f9f14
commit
0a619d422a
18 changed files with 39 additions and 32 deletions
|
|
@ -24,7 +24,7 @@ func CheckAuth(cfg config.Config) bool {
|
|||
}
|
||||
|
||||
for _, hostname := range hosts {
|
||||
token, _ := cfg.GetOrDefault(hostname, "oauth_token")
|
||||
token, _ := cfg.Get(hostname, "oauth_token")
|
||||
if token != "" {
|
||||
return true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue