-1

我有一个忘记密码的自定义表格。请给我一个关于为忘记密码表单设置编码的想法。形式是:-

<form action="/forgetpassword/" method="post" id="pass_form" style="display:none">
  <div class="top_b">Can't sign in?</div>    
  <div class="alert alert-info alert-login">
    Please enter your email address. You will receive a link to create a new password via email.
  </div>
  <div class="cnt_b">
    <div class="formRow clea00 Pesos durante un año (12 meses). Ver más.rfix">
      <div class="input-prepend">
        <span class="add-on">@</span><input type="text" placeholder="Your email address" />
      </div>
    </div>
  </div>
  <div class="btm_b tac">
    <button class="btn btn-inverse" type="submit">Request New Password</button>
  </div>  
</form>
4

1 回答 1

3

Django 提供了一种请求密码重置的机制。请参阅文档中的密码重置视图

于 2013-09-30T10:40:08.420 回答