Add HTTP token-runtime coverage and fix gate tests for tokenless config
This commit is contained in:
1 parent
708fcb5beb
commit
ca08bb66b9
16 files changed
+192
-163
No files matched your search
@@ -50,9 +50,6 @@ func (h *Handler) updateConfig(w http.ResponseWriter, r *http.Request) {
|
||||
if strings.TrimSpace(acc.Password) == "" {
|
||||
acc.Password = prev.Password
|
||||
}
|
||||
if strings.TrimSpace(acc.Token) == "" {
|
||||
acc.Token = prev.Token
|
||||
}
|
||||
}
|
||||
seen[key] = struct{}{}
|
||||
accounts = append(accounts, acc)
|
||||
|
||||
Reference in new issue
Block a user