function userSection(ctx, options) {
const userBlurb = (options.userBlurb || []).map((x) => '\t'.repeat(6) + x).join('\n');
const secure = (ctx.clientProtocol || '').toLowerCase() === 'https';
const showUserForm = options.authnEnabled.filter((x) => userAuthn.includes(x)).length
&& (secure || !options.secureAuthOnly);
return showUserForm ? `\t\t\t<section class="user">
function userSection(ctx, options) {
const userBlurb = (options.userBlurb || []).map((x) => '\t'.repeat(6) + x).join('\n');
const secure = (ctx.clientProtocol || '').toLowerCase() === 'https';
const showUserForm = options.authnEnabled.filter((x) => userAuthn.includes(x)).length
&& (secure || !options.secureAuthOnly);
return showUserForm ? `\t\t\t<section class="user">