From 15901996b1ef1f9a10bf82e8d73b7575a807c4ea Mon Sep 17 00:00:00 2001 From: kanoi Date: Tue, 25 Oct 2016 17:15:38 +1100 Subject: [PATCH] php - allow an option login check function --- pool/base.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pool/base.php b/pool/base.php index 1c12e703..9afb01e4 100644 --- a/pool/base.php +++ b/pool/base.php @@ -487,6 +487,8 @@ if (file_exists('../pool/disable_login.php')) function validUserPass($user, $pass, $twofa) { global $disable_login; + if (function_exists('checklogin')) + checklogin($user); if ($disable_login == true) exit(0); #