[Style]: Update explainer for lock time

This commit is contained in:
ClaraCrazy 2025-12-26 12:07:27 +01:00
parent a571381462
commit 994ccb2dc3
No known key found for this signature in database
GPG key ID: EBBC896ACB497011
2 changed files with 2 additions and 1 deletions

View file

@ -54,6 +54,7 @@ router.get('^/:address([^@/]+@[^@/]+)', sanitizeAddress, checkLockAccess, async(
isLocked: isLocked,
hasAccess: hasAccess,
unlockError: unlockErrorSession,
locktimer: config.lock.releaseHours,
error: lockError,
redirectTo: req.originalUrl
})

View file

@ -56,7 +56,7 @@
<div class="modal-content">
<span class="close" id="closeLock">&times;</span>
<h3>Protect Inbox</h3>
<p class="modal-description">Password-protect this inbox. Locked emails won't be deleted.</p>
<p class="modal-description">Password-protect this inbox. Locked emails won't be deleted. Protection active for {{ locktimer }}hrs after last login.</p>
{% if error and error == 'locking_disabled_for_example' %}
<p id="lockServerError" class="unlock-error">Locking is disabled for the example inbox.</p>
{% endif %}