Auth/Fixup

* fix external login after 49a10e22
This commit is contained in:
Sarjuuk
2018-02-02 21:13:43 +01:00
parent 457e5f1eb5
commit 5abb3f78cf

View File

@@ -293,6 +293,8 @@ class User
return AUTH_INTERNAL_ERR; return AUTH_INTERNAL_ERR;
require 'config/extAuth.php'; require 'config/extAuth.php';
$extGroup = -1;
$result = extAuth($name, $pass, $extId, $extGroup); $result = extAuth($name, $pass, $extId, $extGroup);
if ($result == AUTH_OK && $extId) if ($result == AUTH_OK && $extId)