summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_event.php
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/gallery/helpers/gallery_event.php
parentb6c0d3a48ca4fa9296b23a1c4d73fb0573f1b92f (diff)
parenteda6e3af06aa51281e614ae9a5e7b4ad4fbbae17 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers/gallery_event.php')
-rw-r--r--modules/gallery/helpers/gallery_event.php14
1 files changed, 5 insertions, 9 deletions
diff --git a/modules/gallery/helpers/gallery_event.php b/modules/gallery/helpers/gallery_event.php
index 7b538c49..5fa82160 100644
--- a/modules/gallery/helpers/gallery_event.php
+++ b/modules/gallery/helpers/gallery_event.php
@@ -110,19 +110,15 @@ class gallery_event_Core {
graphics::choose_default_toolkit();
module::clear_var("gallery", "choose_default_tookit");
}
- auth::clear_failed_auth_attempts($user);
+ auth::clear_failed_attempts($user);
}
- static function user_login_failed($name) {
- auth::record_failed_auth_attempts($name);
+ static function user_auth_failed($name) {
+ auth::record_failed_attempt($name);
}
- static function user_password_changed($user) {
- auth::clear_failed_auth_attempts($user);
- }
-
- static function user_password_change_failed($name) {
- auth::record_failed_auth_attempts($name);
+ static function user_auth($user) {
+ auth::clear_failed_attempts($user);
}
static function item_index_data($item, $data) {