% if state.get('log-in.email-sent-to') % set email = state['log-in.email-sent-to']

{{ _( "We've sent you a single-use login link. Check your inbox, open the " "provided link in a new tab, then come back to this page and click on " "the button below to carry on with what you wanted to do." ) }}


% include "templates/form-repost.html"
% elif state.get('log-in.carry-on') % set email = state['log-in.carry-on']

{{ _("You're still not logged in as {0}.", email) }}


% include "templates/form-repost.html"
% elif state.get('log-in.password-or-email') % set email = state['log-in.password-or-email']
% include "templates/form-repost.html"

{{ _("Please fill in your password to authenticate yourself:") }}


% include "templates/form-repost.html"

{{ _("Or log in via email if you've lost your password:") }}

% elif state.get('log-in.email')
% include "templates/form-repost.html"

{{ _("Your account doesn't have a password, so you'll have to authenticate yourself via email:") }}

% else
% include "templates/form-repost.html" % if state.get('log-in.error')

{{ state['log-in.error'] }}

% elif state.get('session_status') == 'expired'

{{ _("Your session has expired.") }}

% endif

{{ _( "If you've {bold}lost your password{bold_end}, or if your account doesn't " "have a password at all, then leave the password field empty. We'll send " "you a login link via email.", bold=''|safe, bold_end=''|safe ) }}

% endif