X-Git-Url: http://git.squeep.com/?p=squeep-authentication-module;a=blobdiff_plain;f=lib%2Ftemplate%2Flogin-html.js;h=f59e002ca8111c85dd2b308a332280e948536f93;hp=d6a45f5be36053cc4e2b96f2ac6fde479b1fdf50;hb=53ef948ea83106e82d55e60d6695a15e94bf725e;hpb=842a3da269de1ab82e9a2a12aae8ed5677f064d8 diff --git a/lib/template/login-html.js b/lib/template/login-html.js index d6a45f5..f59e002 100644 --- a/lib/template/login-html.js +++ b/lib/template/login-html.js @@ -10,13 +10,13 @@ function indieAuthSection(ctx, options) { const showIndieAuthForm = options.authnEnabled.includes('indieAuth'); return showIndieAuthForm ? `\t\t\t
\t\t\t\t

Login

-\t\t\t\t
+\t\t\t\t \t\t\t\t\t
\t\t\t\t\t\tIndieAuth \t\t\t\t\t\t \t\t\t\t\t\t \t\t\t\t\t\t -\t\t\t\t\t\t +\t\t\t\t\t\t ${indieAuthBlurb} \t\t\t\t\t
\t\t\t\t
@@ -63,23 +63,23 @@ document.addEventListener('DOMContentLoaded', function() { ` : ''; } -const userAuthn = ['argon2', 'pam', 'DEBUG_ANY']; +const userAuthn = ['argon2', 'pam']; 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
-\t\t\t\t
+\t\t\t\t \t\t\t\t\t
\t\t\t\t\t\tUser Account \t\t\t\t\t\t -\t\t\t\t\t\t +\t\t\t\t\t\t \t\t\t\t\t\t
\t\t\t\t\t\t \t\t\t\t\t\t \t\t\t\t\t\t
-\t\t\t\t\t\t +\t\t\t\t\t\t ${userBlurb} \t\t\t\t\t
\t\t\t\t