1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
@model TwoStepsAuthenticator.TestWebsite.Users.WebsiteUser @{ ViewBag.Title = "DoubleAuth"; } <h2>DoubleAuth</h2> @using (Html.BeginForm("DoubleAuth", "Home", FormMethod.Post)) { <div> <input type="text" name="code" /> <br /> <input type="submit" value="Submit"/> </div> }