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 +