diff options
| author | Matt Friedman <maf675@gmail.com> | 2015-01-01 17:42:55 -0800 |
|---|---|---|
| committer | Matt Friedman <maf675@gmail.com> | 2015-01-03 15:23:50 -0800 |
| commit | 9d9b8139d0fa98680bb6639dcf2e72a81ac553be (patch) | |
| tree | 74b134795bc6907d67272b1604719a5b7a3ea13f /phpBB/includes/functions.php | |
| parent | 0e0c649477e5ed66f93e1e1a15caeafcf50ae097 (diff) | |
| download | forums-9d9b8139d0fa98680bb6639dcf2e72a81ac553be.tar forums-9d9b8139d0fa98680bb6639dcf2e72a81ac553be.tar.gz forums-9d9b8139d0fa98680bb6639dcf2e72a81ac553be.tar.bz2 forums-9d9b8139d0fa98680bb6639dcf2e72a81ac553be.tar.xz forums-9d9b8139d0fa98680bb6639dcf2e72a81ac553be.zip | |
[ticket/13440] Add event core.login_box_failed
PHPBB3-13440
Diffstat (limited to 'phpBB/includes/functions.php')
| -rw-r--r-- | phpBB/includes/functions.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 1a3560dbb1..81e296e9c9 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2922,6 +2922,19 @@ function login_box($redirect = '', $l_explain = '', $l_success = '', $admin = fa break; } + + /** + * This event allows an extension to process when a user fails a login attempt + * + * @event core.login_box_failed + * @var array result Login result data + * @var string username User name used to login + * @var string password Password used to login + * @var string err Error message + * @since 3.1.3 + */ + $vars = array('result', 'username', 'password', 'err'); + extract($phpbb_dispatcher->trigger_event('core.login_box_failed', compact($vars))); } // Assign credential for username/password pair |
