From 6c236867ce33c0c16b102e02a08226d7eb9b2046 Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Wed, 28 Jul 2021 15:34:03 -0700 Subject: syz-manager: support oauth when calling syz-hub Permit empty hub_key to indicate oauth. --- syz-hub/hub.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'syz-hub') diff --git a/syz-hub/hub.go b/syz-hub/hub.go index 195ab74d7..187d4a1eb 100644 --- a/syz-hub/hub.go +++ b/syz-hub/hub.go @@ -135,6 +135,8 @@ func (hub *Hub) verifyKey(key, expectedKey string) error { if subj != expectedKey { return fmt.Errorf("bad token") } + // Success due to correct token. + return nil } if key != expectedKey { return fmt.Errorf("bad password") -- cgit mrf-deployment