Update /status endpoint to return available auth methods, fix socket auth, update openid to use username instead of email

This commit is contained in:
advplyr 2023-09-24 12:36:36 -05:00
parent 9922294507
commit f6de373388
4 changed files with 76 additions and 70 deletions

View file

@ -238,7 +238,8 @@ class Server {
// server has been initialized if a root user exists
const payload = {
isInit: Database.hasRootUser,
language: Database.serverSettings.language
language: Database.serverSettings.language,
authMethods: Database.serverSettings.authActiveAuthMethods
}
if (!payload.isInit) {
payload.ConfigPath = global.ConfigPath