* change hour to minute.

This commit is contained in:
zhujinyong
2012-09-27 03:20:25 +00:00
parent ce482227f4
commit fcabc226d9
5 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -384,7 +384,7 @@ class user extends control
if($this->post->password) $password = $this->post->password;
if($this->get->password) $password = $this->get->password;
if($this->user->checkLocked($account)) die(js::error(sprintf($this->lang->user->loginLocked, $this->config->user->lockHours)));
if($this->user->checkLocked($account)) die(js::error(sprintf($this->lang->user->loginLocked, $this->config->user->lockMinutes)));
$user = $this->user->identify($account, $password);
@@ -447,7 +447,7 @@ class user extends control
$remainTimes = $this->config->user->failTimes - $fails;
if($remainTimes <= 0)
{
die(js::error(sprintf($this->lang->user->loginLocked, $this->config->user->lockHours)));
die(js::error(sprintf($this->lang->user->loginLocked, $this->config->user->lockMinutes)));
}
else if($remainTimes <= 3)
{