Remove whoami handler.

This was a temporary thing.  Not aware of anyone using it.
This commit is contained in:
Eric Tune
2014-12-03 21:49:48 -08:00
parent 7cf0c4d7d7
commit 029a9b6400
3 changed files with 0 additions and 129 deletions

View File

@@ -373,8 +373,6 @@ func (m *Master) init(c *Config) {
if authenticator != nil {
handler = handlers.NewRequestAuthenticator(userContexts, authenticator, handlers.Unauthorized, handler)
}
// TODO: Remove temporary _whoami handler
m.rootWebService.Route(m.rootWebService.GET("/_whoami").To(handleWhoAmI(authenticator)))
// Install root web services
m.handlerContainer.Add(m.rootWebService)