Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
update SetUserIdentifier
Browse files Browse the repository at this point in the history
Signed-off-by: byhsu <[email protected]>
  • Loading branch information
ByronHsu committed May 9, 2023
1 parent 527ffcc commit 4a6b0f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions auth/identity_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,8 @@ func (c IdentityContext) UserIdentifier() string {
}

// SetUserIdentifier allows you to explicitly set user identifier
func (c *IdentityContext) SetUserIdentifier(id string) IdentityContext {
func (c IdentityContext) SetUserIdentifier(id string) {
c.userIdentifier = id
return *c
}

// NewIdentityContext creates a new IdentityContext.
Expand Down

0 comments on commit 4a6b0f9

Please sign in to comment.