pub fn router(tera: Arc<Tera>) -> RouterExpand description
Build the admin router. Mount with Router::merge in the host
app’s main router.
Auth note: the returned router is unprotected — every host
app should layer with_login_required on top (or equivalent
reverse-proxy basic auth).
Password-reset links are signed with a key derived from the CMS
signing secret (crate::signing::secret), so they stay valid across
restarts and replicas.