welcome,
quickly tinkered something1
also possible on the server side2
1if you use mobil-light, set reload=true
2but you must use Delphi time format
add expiration date to account notes, e.g. 11/1/2020
[+]
<script>
if(new Date()>new Date('{.get account||notes.}')) if(location.pathname!='/') location='/'; //else alert('pwd expired')
</script>
2 add days since 2021 to account notes, e.g. 1 for 1/1/2021
[+]
{.if|{.>|{.time|y.}|{.time|y|when={.calc|44196+{.get account||notes.}.}.}.}|{:{.set account||enabled=0.}:}.}