From 2a9875214736b393e8a076d4efee5cba6a491db2 Mon Sep 17 00:00:00 2001 From: Wingy Date: Mon, 3 Oct 2022 10:40:37 -0400 Subject: [PATCH] Revert "add guest login to login page" This reverts commit 0086399678851616cf02d6e9dfd66f2210b03b86. --- languages/en-us.js | 3 --- views/login.pug | 14 +------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/languages/en-us.js b/languages/en-us.js index 90893c2..4e2d180 100644 --- a/languages/en-us.js +++ b/languages/en-us.js @@ -66,9 +66,6 @@ module.exports.strings = { CONFIRM_ACCOUNT_SET_PW_TEXT: name => `Hello ${name}! Please set your password here.`, CONFIRM_ACCOUNT_SUCCESS: `Welcome to ${_CC.config.siteTitle}!`, LOGIN_BUTTON: 'Log In', - LOGIN_GUEST_PASSWORD_PLACEHOLDER: 'p4ssw0rd;', - LOGIN_GUEST_PASSWORD: 'Guest Password', - LOGIN_GUEST: 'Log In as a Guest', LOGIN_PASSWORD_PLACEHOLDER: 'pa$$word!', LOGIN_PASSWORD: 'Password', LOGIN_USERNAME_PLACEHOLDER: 'john', diff --git a/views/login.pug b/views/login.pug index 53099e4..5c3fc5b 100644 --- a/views/login.pug +++ b/views/login.pug @@ -17,16 +17,4 @@ block content .field .control input.button.is-primary(type='submit' value=lang('LOGIN_BUTTON')) - if _CC.config.guestPassword - hr - h3= lang('LOGIN_GUEST') - form(method='POST', action='/login/guest') - .field - label.label= lang('LOGIN_GUEST_PASSWORD') - .control.has-icons-left - input.input(type='password', name='guestpassword', placeholder=lang('LOGIN_GUEST_PASSWORD_PLACEHOLDER')) - span.icon.is-small.is-left - i.fas.fa-lock - .field - .control - input.button.is-primary(type='submit', value=lang('LOGIN_BUTTON')) \ No newline at end of file +