mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2026-01-10 03:29: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,
|
isLocked: isLocked,
|
||||||
hasAccess: hasAccess,
|
hasAccess: hasAccess,
|
||||||
unlockError: unlockErrorSession,
|
unlockError: unlockErrorSession,
|
||||||
|
locktimer: config.lock.releaseHours,
|
||||||
error: lockError,
|
error: lockError,
|
||||||
redirectTo: req.originalUrl
|
redirectTo: req.originalUrl
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<span class="close" id="closeLock">×</span>
|
<span class="close" id="closeLock">×</span>
|
||||||
<h3>Protect Inbox</h3>
|
<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' %}
|
{% if error and error == 'locking_disabled_for_example' %}
|
||||||
<p id="lockServerError" class="unlock-error">Locking is disabled for the example inbox.</p>
|
<p id="lockServerError" class="unlock-error">Locking is disabled for the example inbox.</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue