(cp 9ac99be1d) fixes GHSA-9986-w7jf-33f6 and fixes GHSA-9986-w7jf-33f6

not include password.tpl from standard pages
This commit is contained in:
Linty
2025-10-17 16:24:25 +02:00
parent 2148a1cb22
commit 9d2565465e
11 changed files with 3749 additions and 36 deletions
+13
View File
@@ -27,6 +27,17 @@
</p>
<p class="bottomButtons"><input type="submit" name="submit" value="{'Change my password'|@translate}"></p>
{elseif $action eq 'lost_code'}
<div>
<div class="message">{"If you do not receive the email, please contact your webmaster."|translate}</div>
<label>
{'Verification code'|@translate}
<br>
<input type="text" id="user_code" name="user_code" size="100" />
</label>
<p class="bottomButtons"><input type="submit" name="submit" value="{'Verify'|@translate}"></p>
</div>
{elseif $action eq 'reset'}
<div class="message">
@@ -60,6 +71,8 @@
{literal}try{document.getElementById('username_or_email').focus();}catch(e){}{/literal}
{elseif $action eq 'reset'}
{literal}try{document.getElementById('use_new_pwd').focus();}catch(e){}{/literal}
{elseif $action eq 'lost_code'}
{literal}try{document.getElementById('user_code').focus();}catch(e){}{/literal}
{/if}
</script>