Fix jwt-token

This commit is contained in:
2025-09-14 10:10:04 +02:00
parent bcaa48e5de
commit de220bb040
7 changed files with 586 additions and 20 deletions

View File

@@ -54,7 +54,7 @@ router.get('/config/:tenantId', async (req, res) => {
features: {
local_login: tenant.auth_provider === 'local',
sso_login: ['saml', 'oauth', 'ldap'].includes(tenant.auth_provider),
registration: tenant.auth_provider === 'local'
registration: tenant.auth_provider === 'local' && tenant.allow_registration
}
};