aboutsummaryrefslogtreecommitdiffstats
path: root/api/auth/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/auth/context.go')
-rw-r--r--api/auth/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/auth/context.go b/api/auth/context.go
index 17171261..2547aaca 100644
--- a/api/auth/context.go
+++ b/api/auth/context.go
@@ -24,5 +24,5 @@ func UserFromCtx(ctx context.Context, r *cache.RepoCache) (*cache.IdentityCache,
if !ok {
return nil, ErrNotAuthenticated
}
- return r.ResolveIdentity(id)
+ return r.Identities().Resolve(id)
}