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.

ResetPassword.cshtml 1.5KB

1234567891011121314151617181920212223242526272829303132
  1. @model Teknik.Areas.Users.ViewModels.ResetPasswordViewModel
  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>Reset Password</h1>
  10. <div class="col-md-4 col-md-offset-4">
  11. <form role="form" id="reset_pass_send" action="@Url.SubRouteUrl("user", "User.Action", new { action = "SendResetPasswordVerification" })" method="post" accept-charset="UTF-8">
  12. <div class="form-group">
  13. <label for="reset_username">Username</label>
  14. <input type="text" class="form-control" id="reset_username" value="@Model.Username" placeholder="Username" name="reset_username" />
  15. <span id="helpBlock" class="help-block">Send a temporary link to your recovery email to reset your password.</span>
  16. </div>
  17. <div class="form-group text-center">
  18. <button class="btn btn-primary" id="reset_pass_send_submit" type="submit" name="reset_pass_send_submit">Send Reset Link</button>
  19. </div>
  20. </form>
  21. </div>
  22. }
  23. else
  24. {
  25. <h3>Password Resets are Disabled</h3>
  26. }
  27. </div>
  28. </div>
  29. </div>
  30. </div>