From 48a344ed252c88b28a24531c4d5d066291881e06 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Fri, 17 Jan 2014 15:43:58 +0100 Subject: [PATCH] [SECURITY] Dropped small login form Since we are adding more security realted features, we drop the small login in the header. It will need more workarounds than we'd like and is already dropped when re-Captcha is enabled. Security > Convenience :D --- public/templates/mpos/global/header.tpl | 1 - public/templates/mpos/login/small.tpl | 18 ------------------ 2 files changed, 19 deletions(-) delete mode 100644 public/templates/mpos/login/small.tpl diff --git a/public/templates/mpos/global/header.tpl b/public/templates/mpos/global/header.tpl index 4d5d7345..ecc997c1 100644 --- a/public/templates/mpos/global/header.tpl +++ b/public/templates/mpos/global/header.tpl @@ -2,4 +2,3 @@

{$GLOBAL.website.name|default:"Unknown Pool"}

{if $smarty.request.action|escape|default:""}{$smarty.request.action|escape|capitalize}{else}{$smarty.request.page|escape|default:"home"|capitalize}{/if}

- {if $GLOBAL.config.recaptcha_enabled|default:"0" != 1 || $GLOBAL.config.recaptcha_enabled_logins|default:"0" != 1}{nocache}{include file="login/small.tpl"}{/nocache}{/if} diff --git a/public/templates/mpos/login/small.tpl b/public/templates/mpos/login/small.tpl deleted file mode 100644 index 85f099bf..00000000 --- a/public/templates/mpos/login/small.tpl +++ /dev/null @@ -1,18 +0,0 @@ -{if $smarty.session.AUTHENTICATED|default:"0" == 0} -
-
- - {if $GLOBAL.csrf.enabled && $GLOBAL.csrf.forms.login}{/if} - - - - - - - - - - -
-
-{/if}