# `PhoenixKitWeb.Plugs.MaintenanceMode`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.87/lib/modules/maintenance/web/plugs/maintenance_mode.ex#L1)

Plug that enforces maintenance mode for non-admin users.

When the Maintenance module is enabled, this plug will:
- Allow admins and owners to access the site normally
- Show maintenance page to all other users
- Work for both LiveView and regular controller routes

## Usage

This plug is automatically called by PhoenixKitWeb.Plugs.Integration which is
added to your browser pipeline during installation. No manual setup required.

## Internal Usage

The Integration plug calls this plug internally to check maintenance mode status.

# `call`

Checks if maintenance mode is enabled and renders maintenance page for non-admin users.

# `init`

Initializes the plug with options.

---

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