mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
Fix for Kleeja Admin Firewall plugin
This commit is contained in:
@@ -75,9 +75,6 @@ if (
|
||||
$ERRORS[] = $lang['INVALID_FORM_KEY'];
|
||||
}
|
||||
|
||||
is_array($plugin_run_result = Plugins::getInstance()->run('admin_login_submit', get_defined_vars())) ? extract($plugin_run_result) : null; //run hook
|
||||
|
||||
|
||||
if (empty($ERRORS))
|
||||
{
|
||||
if ($f = $usrcp->data(p('lname'), p($pass_field), false, 3600*6, true))
|
||||
@@ -101,6 +98,8 @@ if (
|
||||
}
|
||||
}
|
||||
|
||||
is_array($plugin_run_result = Plugins::getInstance()->run('admin_login_submit_admin_page', get_defined_vars())) ? extract($plugin_run_result) : null; //run hook
|
||||
|
||||
//let's see if there is errors
|
||||
if (sizeof($ERRORS))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user