Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -5199,7 +5199,7 @@ func (a *Server) CreateAccessRequestV2(ctx context.Context, req types.AccessRequ

// Always perform variable expansion on creation only; this ensures the
// access request that is reviewed is the same that is approved.
expandOpts := services.ExpandVars(true)
expandOpts := services.WithExpandVars(true)
if err := services.ValidateAccessRequestForUser(ctx, a.clock, a, req, identity, expandOpts); err != nil {
return nil, trace.Wrap(err)
}
Expand Down
Loading
Loading