{{#unless (and isDismissed (is-before (now interval=1000) auth.tokenExpirationDate))}} {{#if (is-after (now interval=1000) auth.tokenExpirationDate)}} {{#message-in-page type="danger"}}

Your auth token expired on {{moment-format auth.tokenExpirationDate 'MMMM Do YYYY, h:mm:ss a'}}. You will need to re-authenticate.

{{/message-in-page}} {{else if auth.allowExpiration}} {{#message-in-page type="warning"}}

We've stopped auto-renewing your current auth token due to inactivity. Your token will expire in {{moment-from-now auth.tokenExpirationDate interval=1000 hideSuffix=true}} on {{moment-format auth.tokenExpirationDate 'MMMM Do YYYY, h:mm:ss a'}}

{{/message-in-page}} {{/if}} {{/unless}}