summaryrefslogtreecommitdiff
path: root/data/tpl/userpass
diff options
context:
space:
mode:
Diffstat (limited to 'data/tpl/userpass')
-rw-r--r--data/tpl/userpass21
1 files changed, 21 insertions, 0 deletions
diff --git a/data/tpl/userpass b/data/tpl/userpass
new file mode 100644
index 00000000..c3b04840
--- /dev/null
+++ b/data/tpl/userpass
@@ -0,0 +1,21 @@
+<h2>[[: $p{PageTitle} ]]</h2>
+<p>
+ You're lucky that vndb has a very advanced password recovery tool! Just
+ type your email address (the same one you used for your account), and
+ wait for an email!
+</p>
+
+-[[ if(!$d{done}) { ]]
+[[= cform( [
+ { type => 'error', },
+ { type => 'startform', action => '/u/newpass' },
+ { type => 'input', short => 'mail', name => 'Email' },
+ { type => 'submit', text => 'Gimme my password!' },
+ { type => 'endform' },
+], $d{pas} ) ]]
+
+[[ } else { ]]
+<span class="msg">
+ Your password succesfully been reset. Check your mail for instructions.
+</span>
+[[ } ]]