mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2026-01-09 03:09:36 +01:00
[Style]: Update explainer for lock time
This commit is contained in:
parent
a571381462
commit
994ccb2dc3
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
})
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
<div class="modal-content">
|
||||
<span class="close" id="closeLock">×</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 %}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue