# `HaAuth.LiveAuth`
[🔗](https://github.com/drselump14/ha_auth/blob/v0.1.0/lib/ha_auth/live_auth.ex#L1)

`on_mount` for LiveViews: `live_session :app, on_mount: {HaAuth.LiveAuth,
:require_user}` assigns `:current_user` or sends the browser to `/login`.

# `on_mount`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
