From ce78e96263925a69cee2d91c2ee9cca7408af509 Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Fri, 28 Jun 2024 18:04:50 -0600 Subject: [PATCH] fix missing "forgot password" link --- modules/material/themes/material/silauth/loginuserpass.twig | 4 ++-- modules/silauth/public/loginuserpass.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/material/themes/material/silauth/loginuserpass.twig b/modules/material/themes/material/silauth/loginuserpass.twig index 8780938..5639fd0 100644 --- a/modules/material/themes/material/silauth/loginuserpass.twig +++ b/modules/material/themes/material/silauth/loginuserpass.twig @@ -106,9 +106,9 @@ {% endif %}
- {% if forgotPasswordUrl is defined and forgotPasswordUrl is not empty %} + {% if passwordForgotUrl is not empty %} data['announcement'] = AnnouncementUtils::getAnnouncement(); $t->data['idpName'] = $globalConfig->getString('idp_display_name'); $t->data['siteKey'] = $recaptchaSiteKey; +$t->data['passwordForgotUrl'] = $globalConfig->getOptionalString('passwordForgotUrl', ''); /* For simplicity's sake, don't bother telling this Request to trust any IP * addresses. This is okay because we only track the failures of untrusted