Add weight support in LDAP plugin

This commit is contained in:
Chocobozzz
2020-04-30 10:14:51 +02:00
parent fc9be54433
commit 9b66758c3d
2 changed files with 25 additions and 7 deletions

View File

@ -89,7 +89,7 @@ async function register ({
{
const result = registerExternalAuth({
authName: 'fake-auth',
authDisplayName: 'fake auth',
authDisplayName: () => 'fake auth',
onAuthRequest: (req, res) => {
result.userAuthenticated({
req,