From adf409716b9d9770c746037f46f96d1f5f31de1d Mon Sep 17 00:00:00 2001 From: VirtualTam <virtualtam@flibidi.net> Date: Sat, 24 Mar 2018 21:55:03 +0100 Subject: fix: IP ban check for the Vintage theme Introduced by https://github.com/shaarli/Shaarli/pull/1008 Signed-off-by: VirtualTam <virtualtam@flibidi.net> --- 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 2c9b710e..0f7d6387 100644 --- a/tpl/vintage/loginform.html +++ b/tpl/vintage/loginform.html @@ -13,7 +13,7 @@ {include="page.header"} <div id="headerform"> - {if="!ban_canLogin($conf)"} + {if="!$user_can_login"} You have been banned from login after too many failed attempts. Try later. {else} <form method="post" name="loginform"> -- cgit v1.2.3