Add target type and session user_id as searchable (#4076)
* Add target type and session user_id to search
This commit is contained in:
1 parent
df93313b9a
commit
9ebb69f2a4
9 files changed
+191
-69
No files matched your search
@@ -114,7 +114,7 @@ func newTokenHandlerFunc(ctx context.Context, repo *cache.Repository, refresher
|
||||
AuthTokenId: perReq.AuthTokenId,
|
||||
}
|
||||
if err = repo.AddKeyringToken(ctx, perReq.BoundaryAddr, kt); err != nil {
|
||||
writeError(w, "Failed to add a keyring stored token", http.StatusInternalServerError)
|
||||
writeError(w, fmt.Sprintf("Failed to add a keyring stored token: %v", err), http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
case perReq.AuthToken != "":
|
||||
|
||||
Reference in new issue
Block a user