]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
fix: IP ban check for the Vintage theme 1108/head
authorVirtualTam <virtualtam@flibidi.net>
Sat, 24 Mar 2018 20:55:03 +0000 (21:55 +0100)
committerVirtualTam <virtualtam@flibidi.net>
Sat, 24 Mar 2018 20:55:03 +0000 (21:55 +0100)
Introduced by https://github.com/shaarli/Shaarli/pull/1008

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
tpl/vintage/loginform.html

index 2c9b710e8cc344af87f94aa6d5bce55b0ba37523..0f7d6387e8ec07e2dfc93b16afc23dfdc203c7c0 100644 (file)
@@ -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">