diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2018-03-25 14:39:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-25 14:39:09 +0200 |
commit | b0f39c6654bce7238b37648140908ca1cc0a39b4 (patch) | |
tree | d3cb3bd24135926a73ecb2a2bfa9b0f1313c31f6 | |
parent | e54cb1bbe7500d5271d767a298cefbc85f904e0d (diff) | |
parent | adf409716b9d9770c746037f46f96d1f5f31de1d (diff) | |
download | Shaarli-b0f39c6654bce7238b37648140908ca1cc0a39b4.tar.gz Shaarli-b0f39c6654bce7238b37648140908ca1cc0a39b4.tar.zst Shaarli-b0f39c6654bce7238b37648140908ca1cc0a39b4.zip |
Merge pull request #1108 from virtualtam/fix/template/vintage/check-login-ban
fix: IP ban check for the Vintage theme
-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"> |