mirror of
https://github.com/writefreely/writefreely
synced 2024-11-24 09:33:11 +00:00
Make user deletion success message more concise
Ref T319
This commit is contained in:
parent
e4164cbf67
commit
f06ab629d1
1 changed files with 1 additions and 1 deletions
2
admin.go
2
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"}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue