aboutsummaryrefslogtreecommitdiff
path: root/backend/internal/worker
diff options
context:
space:
mode:
Diffstat (limited to 'backend/internal/worker')
-rw-r--r--backend/internal/worker/auth/auth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/internal/worker/auth/auth.go b/backend/internal/worker/auth/auth.go
index e1c6661..b748d07 100644
--- a/backend/internal/worker/auth/auth.go
+++ b/backend/internal/worker/auth/auth.go
@@ -153,7 +153,7 @@ func hasValidCookies(ctx context.Context, store database.CookieStore, user strin
}
// If the user has non-degraded cookies, return true
- if cookies != nil && len(cookies) > 0 {
+ if len(cookies) > 0 {
return true, nil
}
return false, nil