diff --git a/controllers/phish.go b/controllers/phish.go index 4fbc47ca..e2ff7870 100644 --- a/controllers/phish.go +++ b/controllers/phish.go @@ -121,7 +121,7 @@ func (ps *PhishingServer) registerRoutes() { // Setup logging phishHandler = handlers.CombinedLoggingHandler(log.Writer(), phishHandler) - ps.server.Handler = router + ps.server.Handler = phishHandler } // TrackHandler tracks emails as they are opened, updating the status for the given Result