Skip to content

Commit

Permalink
Fix for Kleeja Admin Firewall plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
RouatbiH committed Jul 2, 2023
1 parent d0bee08 commit eb25611
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@
$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))
Expand All @@ -101,6 +98,8 @@
}
}

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))
{
Expand Down

0 comments on commit eb25611

Please sign in to comment.