Recent Comments (3)
mario | 2 years ago |
lister code: <'a href="/resetpsw"><'div class="mydiv"><'img src="%avatar%"> %username%<'/div><'/a>
then create resetpsw page
add code login form.
<'div class="mydiv">
<'input type="hidden" name="user" value=":GET(usr);"/><'br>Enter last 3 password you could remember:<'br>
<'input type="text" value=""name="psw"/>
Config:
<'password>:GET(psw).IFIN.POST(psw).THEN.GET(psw).REPLACE([["A","x","D","h","E","H","B","m","33"],["1","2","3","4","5","6","7","8","9"]]).ELSE.NULL;<'/password>
<'email>:GET(email);<'/email>
reply |
mario | 2 years ago |
add <"var_psw>:POST(password);<"/var_psw>
in your registration config only.
Next you add a new page forgotpsw then add code Usr lister then clear all recent code
use <"order>new<"/order>
<"search>:REQUEST(user);<"/search>
<"limit>30<"/limit>
header lister code
<"form method="get" action="/forgotpsw">
<"input type="text" name="user" placeholder="enter username"/>
<"input type="text" name="email" placeholder="enter email"/>
<'input type="hidden" name="psw" value=":VALUE(%var(psw)%).REPLACE([["1","2","3","4","5","6","7","8","9"],["A","x","D","h","E","H","B","m","33"]]);"/>
<"button>Next<"/button><"/form>
reply |