diff --git a/core/js/custom-login.js b/core/js/custom-login.js index a3f4fa9e5bf936b4088c480f6e490cb792779457..6d0a50bd9e8f4990eb38b58396a3a49cd20a270c 100644 --- a/core/js/custom-login.js +++ b/core/js/custom-login.js @@ -18,4 +18,12 @@ document.addEventListener('DOMContentLoaded', function() { document.querySelector('.banner-content').classList.add('slow-show') } }) + + if (window.location.href.includes("?showResetPassword=1")) { + var elementLostPassword = document.getElementById("lost-password"); + if (elementLostPassword) { + elementLostPassword.click(); + } + } }) +