]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/vintage/loginform.html
Merge tag 'v0.10.4' into stable
[github/shaarli/Shaarli.git] / tpl / vintage / loginform.html
index 1becd44f7db6c305d9bed899c65c13db6aa16305..0f7d6387e8ec07e2dfc93b16afc23dfdc203c7c0 100644 (file)
@@ -2,7 +2,7 @@
 <html>
 <head>{include="includes"}</head>
 <body
-{if="ban_canLogin($conf)"}
+{if="$user_can_login"}
   {if="empty($username)"}
     onload="document.loginform.login.focus();"
   {else}
@@ -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">