From 349628c28fd15c2219a96ca02b40662139332597 Mon Sep 17 00:00:00 2001 From: Mohamedh Fazal Date: Mon, 20 Jun 2016 13:58:00 +0500 Subject: [PATCH] mount warden handler --- cmd/server/handler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/server/handler.go b/cmd/server/handler.go index 4b973217c31..e8ffdfbb14d 100644 --- a/cmd/server/handler.go +++ b/cmd/server/handler.go @@ -23,6 +23,7 @@ type Handler struct { Keys *jwk.Handler OAuth2 *oauth2.Handler Policy *policy.Handler + Warden *warden.WardenHandler } func (h *Handler) Start(c *config.Config, router *httprouter.Router) { @@ -48,6 +49,7 @@ func (h *Handler) Start(c *config.Config, router *httprouter.Router) { h.Connections = newConnectionHandler(c, router) h.Policy = newPolicyHandler(c, router) h.OAuth2 = newOAuth2Handler(c, router, h.Keys.Manager) + h.Warden = warden.NewHandler(c, router) // Create root account if new install h.createRS256KeysIfNotExist(c, oauth2.ConsentEndpointKey, "private")