Skip to content

Commit

Permalink
Dev: encode $validationKey
Browse files Browse the repository at this point in the history
Dev: not really needed, shown only if valie, and generated by LimeSurvey
  • Loading branch information
Shnoulle committed Jun 22, 2024
1 parent a5ba2e9 commit 445a224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/views/admin/authentication/newPassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<?php
?>
<span>
<label for="password_repeat" class="required" required><?= gT("Password") ?> <span
<label for="password" class="required" required><?= gT("Password") ?> <span
class="required">*</span></label>
<input name="password" placeholder='********' id="password" class="form-control ls-important-field"
type="password">
Expand All @@ -50,7 +50,7 @@ class="form-control ls-important-field" type="password">
<input type="text" class="form-control" readonly name="random_example_password"
value="<?= htmlspecialchars((string) $randomPassword) ?>"/>
</span>
<input type="hidden" name="validation_key" value="<?= $validationKey ?>">
<input type="hidden" name="validation_key" value="<?= CHtml::encode($validationKey) ?>">
</div>
</div>

Expand Down

0 comments on commit 445a224

Please sign in to comment.