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 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. @if (Model.Config.UserConfig.PasswordResetEnabled)
  8. {
  9. <h1>@(Model.Success ? "Reset Your Password" : "Invalid Password Reset Verification")</h1>
  10. <div class="col-md-4 col-md-offset-4">
  11. @if (Model.Success)
  12. {
  13. <form role="form" id="setNewPass" action="@Url.SubRouteUrl("user", "User.Action", new { action = "SetUserPassword" })" method="post" accept-charset="UTF-8">
  14. <div class="form-group">
  15. <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" />
  16. </div>
  17. <div class="form-group">
  18. <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" />
  19. </div>
  20. <div class="form-group text-center">
  21. <button class="btn btn-primary" id="setNewPass_submit" type="submit" name="setNewPass_submit">Reset Password</button>
  22. </div>
  23. </form>
  24. }
  25. else
  26. {
  27. <p>The verification you provided is not valid. Please check the URL and try again.</p>
  28. }
  29. </div>
  30. }
  31. else
  32. {
  33. <h3>Password Resets are Disabled</h3>
  34. }
  35. </div>
  36. </div>
  37. </div>
  38. </div>