]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/loginform.html
Fixes can login function call in loginform.html
[github/shaarli/Shaarli.git] / tpl / loginform.html
index a49b42d3c0de71aa1d699c05dd05abe7d981c78d..84176385765837973d77be29941db622ccad1f6a 100644 (file)
@@ -2,7 +2,7 @@
 <html>
 <head>{include="includes"}</head>
 <body
-{if="ban_canLogin()"}
+{if="ban_canLogin($conf)"}
   {if="empty($username)"}
     onload="document.loginform.login.focus();"
   {else}
@@ -13,7 +13,7 @@
   {include="page.header"}
 
   <div id="headerform">
-    {if="!ban_canLogin()"}
+    {if="!ban_canLogin($conf)"}
       You have been banned from login after too many failed attempts. Try later.
     {else}
       <form method="post" name="loginform">