File/plugins/login_failed/functions.php

Description

Copyright (c) 2007 The NaSMail Project This file is part of NaSMail login_failed plugin.

This plugin 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 plugin 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 plugin; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  • version: $Id: functions.php 576 2007-08-07 12:13:32Z tokul $
  • copyright: (c) 2007 The NaSMail Project
Includes
 include_once (SM_PATH.'plugins/login_failed/config.php') (line 36)

Load site configuration

Functions
login_failed_db_connect (line 122)

Opens connection to database.

  • return: PearDB object or boolean false
object|boolean login_failed_db_connect ()
login_failed_login_before_do (line 77)

Stops logins after repeated login failures.

Function stops all user's logins after repeated login failures

void login_failed_login_before_do ()
login_failed_logout_error_do (line 44)

Logs login failures

Function is used to register login failures in logout_error hook

void login_failed_logout_error_do ()

Documentation generated on Sun, 22 Nov 2009 17:36:33 +0200 by phpDocumentor 1.4.3