Skip to content

Commit

Permalink
fix inconsistency in spelling of passwordForgotUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed May 29, 2024
1 parent 3b81faf commit 12c6bca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/material/themes/material/core/loginuserpass.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ function onRecaptchaLoad() {

<div class="mdl-card__actions" layout-children="row">
<?php
$forgotPasswordUrl = htmlentities($this->data['forgotPasswordUrl']);
if (! empty($forgotPasswordUrl)) {
$passwordForgotUrl = htmlentities($this->data['passwordForgotUrl']);
if (! empty($passwordForgotUrl)) {
?>
<a href="<?= $forgotPasswordUrl ?>" target="_blank" class="mdl-button mdl-button--colored mdl-typography--caption">
<a href="<?= $passwordForgotUrl ?>" target="_blank" class="mdl-button mdl-button--colored mdl-typography--caption">
<?= $this->t('{material:login:forgot}') ?>
</a>
<?php
Expand Down

0 comments on commit 12c6bca

Please sign in to comment.