The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ResetPasswordVerification.cshtml 1.8KB

123456789101112131415161718192021222324252627282930313233
  1. @model Teknik.Areas.Users.ViewModels.ResetPasswordVerificationViewModel
  2. @Scripts.Render("~/bundles/user")
  3. <div class="container">
  4. <div class="row">
  5. <div class="col-md-12">
  6. <div class="text-center">
  7. <h1>@(Model.Success ? "Reset Your Password" : "Invalid Password Reset Verification")</h1>
  8. <div class="col-md-4 col-md-offset-4">
  9. @if (Model.Success)
  10. {
  11. <form role="form" id="setNewPass" action="@Url.SubRouteUrl("user", "User.Action", new { action = "SetUserPassword" })" method="post" accept-charset="UTF-8">
  12. <div class="form-group">
  13. <input type="password" class="form-control" id="setNewPass_Password" value="" placeholder="Password" name="setNewPass_Password" data-val-required="The Password field is required." data-val="true" />
  14. </div>
  15. <div class="form-group">
  16. <input type="password" class="form-control" id="setNewPass_ConfirmPassword" value="" placeholder="Confirm Password" name="setNewPass_ConfirmPassword" data-val-required="The Confirm Password field is required." data-val="true" />
  17. </div>
  18. <div class="form-group text-center">
  19. <button class="btn btn-primary" id="setNewPass_submit" type="submit" name="setNewPass_submit">Reset Password</button>
  20. </div>
  21. </form>
  22. }
  23. else
  24. {
  25. <p>The verification you provided is not valid. Please check the URL and try again.</p>
  26. }
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. </div>