improve start scan message
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user