diff --git a/auth/identity_context.go b/auth/identity_context.go index 1201c303d..57521826b 100644 --- a/auth/identity_context.go +++ b/auth/identity_context.go @@ -91,7 +91,7 @@ func (c IdentityContext) UserIdentifier() string { } // SetUserIdentifier allows you to explicitly set user identifier -func (c IdentityContext) SetUserIdentifier(id string) { +func (c *IdentityContext) SetUserIdentifier(id string) { c.userIdentifier = id }