]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Merge pull request #1108 from virtualtam/fix/template/vintage/check-login-ban
authorVirtualTam <virtualtam+github@flibidi.net>
Sun, 25 Mar 2018 12:39:09 +0000 (14:39 +0200)
committerGitHub <noreply@github.com>
Sun, 25 Mar 2018 12:39:09 +0000 (14:39 +0200)
fix: IP ban check for the Vintage theme

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">