Skip to content

Commit

Permalink
Do not return passwords when a registration error occurs
Browse files Browse the repository at this point in the history
  • Loading branch information
MioVisman committed May 19, 2018
1 parent 5e45246 commit 9f0fc20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions register.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@
<fieldset>
<legend><?php echo $lang_register['Pass legend'] ?></legend>
<div class="infldset">
<label class="conl required"><strong><?php echo $lang_common['Password'] ?> <span><?php echo $lang_common['Required'] ?></span></strong><br /><input type="password" name="req_password1" value="<?php if (isset($_POST['req_password1'])) echo pun_htmlspecialchars($_POST['req_password1']); ?>" size="16" /><br /></label>
<label class="conl required"><strong><?php echo $lang_prof_reg['Confirm pass'] ?> <span><?php echo $lang_common['Required'] ?></span></strong><br /><input type="password" name="req_password2" value="<?php if (isset($_POST['req_password2'])) echo pun_htmlspecialchars($_POST['req_password2']); ?>" size="16" /><br /></label>
<label class="conl required"><strong><?php echo $lang_common['Password'] ?> <span><?php echo $lang_common['Required'] ?></span></strong><br /><input type="password" name="req_password1" size="16" /><br /></label>
<label class="conl required"><strong><?php echo $lang_prof_reg['Confirm pass'] ?> <span><?php echo $lang_common['Required'] ?></span></strong><br /><input type="password" name="req_password2" size="16" /><br /></label>
<p class="clearb"><?php echo $lang_register['Pass info'] ?></p>
</div>
</fieldset>
Expand Down

0 comments on commit 9f0fc20

Please sign in to comment.