Fixes can login function call in loginform.html

Fixes #711
This commit is contained in:
ArthurHoaro 2016-12-15 10:57:11 +01:00
parent 624f999fb7
commit 4cfe8d3303
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@ cache:
directories:
- $HOME/.composer/cache
php:
- 7.1
- 7.0
- 5.6
- 5.5

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