diff options
author | VirtualTam <virtualtam@flibidi.net> | 2018-03-24 21:55:03 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2018-03-24 21:55:03 +0100 |
commit | adf409716b9d9770c746037f46f96d1f5f31de1d (patch) | |
tree | d3cb3bd24135926a73ecb2a2bfa9b0f1313c31f6 /tpl | |
parent | e54cb1bbe7500d5271d767a298cefbc85f904e0d (diff) | |
download | Shaarli-adf409716b9d9770c746037f46f96d1f5f31de1d.tar.gz Shaarli-adf409716b9d9770c746037f46f96d1f5f31de1d.tar.zst Shaarli-adf409716b9d9770c746037f46f96d1f5f31de1d.zip |
fix: IP ban check for the Vintage theme
Introduced by https://github.com/shaarli/Shaarli/pull/1008
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/vintage/loginform.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/vintage/loginform.html b/tpl/vintage/loginform.html index 2c9b710e..0f7d6387 100644 --- a/tpl/vintage/loginform.html +++ b/tpl/vintage/loginform.html | |||
@@ -13,7 +13,7 @@ | |||
13 | {include="page.header"} | 13 | {include="page.header"} |
14 | 14 | ||
15 | <div id="headerform"> | 15 | <div id="headerform"> |
16 | {if="!ban_canLogin($conf)"} | 16 | {if="!$user_can_login"} |
17 | You have been banned from login after too many failed attempts. Try later. | 17 | You have been banned from login after too many failed attempts. Try later. |
18 | {else} | 18 | {else} |
19 | <form method="post" name="loginform"> | 19 | <form method="post" name="loginform"> |