fix: IP ban check for the Vintage theme

Introduced by https://github.com/shaarli/Shaarli/pull/1008

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
This commit is contained in:
VirtualTam 2018-03-24 21:55:03 +01:00
parent e54cb1bbe7
commit adf409716b

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