1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-11-08 00:24:38 +03:00

Added support for skip mfa auth based on groups

This commit is contained in:
Adolfo Gómez García
2024-01-08 16:02:44 +01:00
parent cf4a7e0ef9
commit b9b3889f35
16 changed files with 73 additions and 39 deletions

View File

@@ -154,7 +154,7 @@ class Services(DetailHandler): # pylint: disable=too-many-public-methods
# Extract item db fields
# We need this fields for all
logger.debug('Saving service for %s / %s', parent, item)
fields = self.readFieldsFromParams(
fields = self.fields_from_params(
['name', 'comments', 'data_type', 'tags', 'max_services_count_type']
)
# Fix max_services_count_type to ServicesCountingType enum or ServicesCountingType.STANDARD if not found