Fixed phishing server log output. Fixes #1345

pull/1386/head
Jordan Wright 2019-02-19 21:40:26 -06:00
parent 3cec2dabbf
commit 8d32bc2fab
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ func (ps *PhishingServer) registerRoutes() {
// Setup logging // Setup logging
phishHandler = handlers.CombinedLoggingHandler(log.Writer(), phishHandler) 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 // TrackHandler tracks emails as they are opened, updating the status for the given Result