Add /auth_methods route

This commit is contained in:
lukeIam 2023-09-20 19:16:08 +01:00
parent 45cf00bd04
commit 2c25f64652

View File

@ -228,6 +228,11 @@ class Auth {
}
})
})
// Get avilible auth methods
router.get('/auth_methods', (req, res) => {
res.json(global.ServerSettings.authActiveAuthMethods)
})
}
/**