Banning a User, changing a role or revoking a Session from the admin area stored the caller's x-template-client-ip header in its Audit Event, or the runtime's fallback address when the header was absent. These writes now reach Better Auth with the address the Worker entry derived, as sign-in and every other authentication request already did. Existing Audit Events are not rewritten. Admin · Commit 64442d2
Admin audit events record the entry's client address
An admin write through the API stores the address the deployment vouches for, not a header the caller sent.
Edit on GitHubDocumentation is in English.