# 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.

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](/docs/features/admin) · [Commit 64442d2](https://github.com/CarlosZiegler/fofo/commit/64442d29df46ea1dc580bcb90a79166ce8a3199e)
