Make user deletion success message more concise

Ref T319
This commit is contained in:
Matt Baer 2021-04-22 10:11:18 -04:00
parent e4164cbf67
commit f06ab629d1
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ func handleAdminDeleteUser(app *App, u *User, w http.ResponseWriter, r *http.Req
return impart.HTTPError{http.StatusInternalServerError, fmt.Sprintf("Could not delete user account for '%s': %v", username, err)}
}
_ = addSessionFlash(app, w, r, fmt.Sprintf("Account for user \"%s\" was deleted successfully.", username), nil)
_ = addSessionFlash(app, w, r, fmt.Sprintf("User \"%s\" was deleted successfully.", username), nil)
return impart.HTTPError{http.StatusFound, "/admin/users"}
}