Fix jwt-token
This commit is contained in:
@@ -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
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user