aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJames <james@jarofgreen.co.uk>2012-10-22 13:48:14 +0100
committerChristian Weiske <cweiske@cweiske.de>2012-10-28 10:29:40 +0100
commit6607747b3790fd003d587c949157158bff0b7b50 (patch)
treea0b64dba816ae5e901b97010a44e96f8d34b05d1 /data
parentcb4b0469ca48d9865c8b162c1446d9011adf249b (diff)
downloadsemanticscuttle-6607747b3790fd003d587c949157158bff0b7b50.tar.gz
semanticscuttle-6607747b3790fd003d587c949157158bff0b7b50.tar.bz2
Require that user type in two passwords and check they match when registering.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default/register.tpl.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/default/register.tpl.php b/data/templates/default/register.tpl.php
index 62cebad..6cfddd7 100644
--- a/data/templates/default/register.tpl.php
+++ b/data/templates/default/register.tpl.php
@@ -23,6 +23,11 @@ window.onload = function() {
<td></td>
</tr>
<tr>
+ <th align="left"><label for="password2"><?php echo T_('Repeat Password'); ?></label></th>
+ <td><input type="password" id="password2" name="password2" size="20" class="required" /></td>
+ <td></td>
+</tr>
+<tr>
<th align="left"><label for="email"><?php echo T_('E-mail'); ?></label></th>
<td><input type="text" id="email" name="email" size="40" class="required" value="<?php echo htmlspecialchars(POST_MAIL); ?>" /></td>
<td><?php echo '←'.T_(' to send you your password if you forget it')?></td>