From 5bfcec7dfd4ba51d38b41cea770ecc96e7e59d4d Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Wed, 28 Jul 2021 11:03:25 -0700 Subject: pkg/auth: move auth code into a new package for reuse in syz-hub --- dashboard/app/app_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dashboard/app/app_test.go') diff --git a/dashboard/app/app_test.go b/dashboard/app/app_test.go index 49df21d0d..777b73ce8 100644 --- a/dashboard/app/app_test.go +++ b/dashboard/app/app_test.go @@ -13,6 +13,7 @@ import ( "time" "github.com/google/syzkaller/dashboard/dashapi" + "github.com/google/syzkaller/pkg/auth" "github.com/google/syzkaller/sys/targets" "google.golang.org/appengine/user" ) @@ -57,7 +58,7 @@ var testConfig = &GlobalConfig{ FixBisectionAutoClose: true, Clients: map[string]string{ client1: password1, - "oauth": oauthMagic + "111111122222222", + "oauth": auth.OauthMagic + "111111122222222", }, Repos: []KernelRepo{ { -- cgit mrf-deployment