From adf409716b9d9770c746037f46f96d1f5f31de1d Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Sat, 24 Mar 2018 21:55:03 +0100 Subject: [PATCH] fix: IP ban check for the Vintage theme Introduced by https://github.com/shaarli/Shaarli/pull/1008 Signed-off-by: VirtualTam --- tpl/vintage/loginform.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl/vintage/loginform.html b/tpl/vintage/loginform.html index 2c9b710..0f7d638 100644 --- a/tpl/vintage/loginform.html +++ b/tpl/vintage/loginform.html @@ -13,7 +13,7 @@ {include="page.header"}
- {if="!ban_canLogin($conf)"} + {if="!$user_can_login"} You have been banned from login after too many failed attempts. Try later. {else}