UNPKG

@itrocks/forgot-password

Version:

Forgot password management for @itrocks/user, including form, token generation, email sending, and secure reset

44 lines (41 loc) 1.21 kB
<!DOCTYPE html> <html lang="en"> <head> <link href="../../action-bar/action.css" rel="stylesheet"> <link href="../../edit/css/edit.css" rel="stylesheet"> <link href="../../output/css/output.css" rel="stylesheet"> <link href="../../ux-core/css/app.css" rel="stylesheet"> <link href="../../ux-core/css/article.css" rel="stylesheet"> <link href="../css/action.css" rel="stylesheet"> <meta charset="utf-8"> <title>Forgot password</title> </head> <body> <main> <!--BEGIN--> <!--#main--> <!--user--> <form action="app://(@route)/forgot-password" autocomplete="off" data-action="forgot-password" data-class="{%name}" data-route="{@route}" method="post" target="#notifications:prepend" > <input type="hidden" name="token" value="{.token}"> <header> <h2>Please enter your new password</h2> <ul class="general actions"> <li class="close"><a href="app://(@route)/login" target="main">Cancel</a></li> <li class="forgot-password"><input type="submit" value="Reset"></li> </ul> </header> <ul class="object properties"> <!--%properties.password--><li data-property="{name}">{edit}</li> <!--end--> </ul> </form> <!--end--> <!--#end--> <!--END--> </main> </body> </html>