summaryrefslogtreecommitdiff
path: root/modules/rest
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-02-07 13:59:59 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-02-07 13:59:59 -0800
commita54a81f9c77cde8ab4105b52c1864298c819422f (patch)
tree9f025cb0119e82e183b624365b5ebd8c9e282de5 /modules/rest
parentb6c0d3a48ca4fa9296b23a1c4d73fb0573f1b92f (diff)
parenteda6e3af06aa51281e614ae9a5e7b4ad4fbbae17 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/rest')
-rw-r--r--modules/rest/controllers/rest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest/controllers/rest.php b/modules/rest/controllers/rest.php
index 374ae0d2..7cdd97c9 100644
--- a/modules/rest/controllers/rest.php
+++ b/modules/rest/controllers/rest.php
@@ -22,7 +22,7 @@ class Rest_Controller extends Controller {
$username = Input::instance()->post("user");
$password = Input::instance()->post("password");
- if (empty($username) || auth::too_many_failed_logins($username)) {
+ if (empty($username) || auth::too_many_failures($username)) {
throw new Rest_Exception("Forbidden", 403);
}