Skip to content

Commit

Permalink
ReportMyPackage now includes the signature field as well
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenba committed Aug 11, 2015
1 parent ef9cb43 commit 87e3479
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/NuGetGallery/Controllers/PackagesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ public virtual ActionResult ReportMyPackage(string id, string version)
PackageId = id,
PackageVersion = package.Version,
CopySender = true,
Signature = user.Username
};

return View(model);
Expand Down
2 changes: 2 additions & 0 deletions src/NuGetGallery/Views/Packages/ReportMyPackage.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

@using (Html.BeginForm())
{
@Html.HiddenFor(m => m.Signature)

<fieldset id="report-abuse-form" class="form">
<legend>Contact Support</legend>
@Html.AntiForgeryToken()
Expand Down

0 comments on commit 87e3479

Please sign in to comment.