From f06ab629d1722fc9c7a324c10e9961f97baea13b Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Thu, 22 Apr 2021 10:11:18 -0400 Subject: [PATCH] Make user deletion success message more concise Ref T319 --- admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin.go b/admin.go index 4b89a69..6a1a3b5 100644 --- a/admin.go +++ b/admin.go @@ -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"} }