aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/auth/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/auth/auth.go')
-rw-r--r--pkg/auth/auth.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/auth/auth.go b/pkg/auth/auth.go
index bd542bc32..c662218ea 100644
--- a/pkg/auth/auth.go
+++ b/pkg/auth/auth.go
@@ -35,8 +35,6 @@ import (
"strconv"
"strings"
"time"
-
- "github.com/google/syzkaller/dashboard/dashapi"
)
const (
@@ -117,7 +115,7 @@ func (auth *Endpoint) DetermineAuthSubj(now time.Time, authHeader []string) (str
if err != nil {
return "", err
}
- if claims.Audience != dashapi.DashboardAudience {
+ if claims.Audience != DashboardAudience {
err := fmt.Errorf("unexpected audience %v %v", claims.Audience, claims)
return "", err
}