Browse Source

php - allow an option login check function

master
kanoi 8 years ago
parent
commit
15901996b1
  1. 2
      pool/base.php

2
pool/base.php

@ -487,6 +487,8 @@ if (file_exists('../pool/disable_login.php'))
function validUserPass($user, $pass, $twofa) function validUserPass($user, $pass, $twofa)
{ {
global $disable_login; global $disable_login;
if (function_exists('checklogin'))
checklogin($user);
if ($disable_login == true) if ($disable_login == true)
exit(0); exit(0);
# #

Loading…
Cancel
Save