diff --git a/auth/identity_context.go b/auth/identity_context.go index 89ceec909..1201c303d 100644 --- a/auth/identity_context.go +++ b/auth/identity_context.go @@ -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.