summaryrefslogtreecommitdiff
path: root/modules/gallery/models/failed_auth.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-02-07 08:45:10 -0800
committerBharat Mediratta <bharat@menalto.com>2010-02-07 08:45:10 -0800
commitaff5d1cef4cc2514fe6d714788fffcf418d8fc5b (patch)
tree62f237ea453e17056a3f3663cbc0e6203e5fcc9f /modules/gallery/models/failed_auth.php
parentadac97b5372322be5154996974a6496198105d16 (diff)
Create the concept of a "failed authentication" as semantically
separate from a successful or failed login. 1) Rename user_login_failed event to user_authenticate_failed 2) Rename failed_logins table to failed_auth (bump Gallery module to v27 to rename the table) 3) auth::too_many_failed_logins -> auth::too_many_failures 4) auth::record_failed_auth_attempts -> auth::record_failed_attempts auth::clear_failed_auth_attempts -> auth::clear_failed_attempts
Diffstat (limited to 'modules/gallery/models/failed_auth.php')
-rw-r--r--modules/gallery/models/failed_auth.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/gallery/models/failed_auth.php b/modules/gallery/models/failed_auth.php
new file mode 100644
index 00000000..3c25f9d8
--- /dev/null
+++ b/modules/gallery/models/failed_auth.php
@@ -0,0 +1,20 @@
+<?php defined("SYSPATH") or die("No direct script access.");
+/**
+ * Gallery - a web based photo album viewer and editor
+ * Copyright (C) 2000-2009 Bharat Mediratta
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+class Failed_Auth_Model extends ORM {}