improve start scan message

This commit is contained in:
sentriz
2019-07-08 19:31:41 +01:00
parent 8ec9604f29
commit 46d167f9e2

View File

@@ -279,7 +279,7 @@ func (c *Controller) ServeUpdateLastFMAPIKeyDo(w http.ResponseWriter, r *http.Re
func (c *Controller) ServeStartScanDo(w http.ResponseWriter, r *http.Request) { func (c *Controller) ServeStartScanDo(w http.ResponseWriter, r *http.Request) {
session := r.Context().Value(contextSessionKey).(*sessions.Session) session := r.Context().Value(contextSessionKey).(*sessions.Session)
sessAddFlashN("scan started", session) sessAddFlashN("scan started. refresh for results", session)
sessLogSave(w, r, session) sessLogSave(w, r, session)
http.Redirect(w, r, "/admin/home", http.StatusSeeOther) http.Redirect(w, r, "/admin/home", http.StatusSeeOther)
go func() { go func() {