1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-03 01:17:56 +03:00

Removed old config vaule and updated user interface

This commit is contained in:
Adolfo Gómez García 2024-08-29 17:07:21 +02:00
parent 1fd5c5b49a
commit 7526132f96
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23
5 changed files with 21 additions and 12 deletions

View File

@ -770,13 +770,6 @@ class GlobalConfig:
type=Config.FieldType.NUMERIC,
help=_('Minimal User Services needed to show filter'),
)
LOGOUT_URL: Config.Value = Config.section(Config.SectionType.CUSTOM).value(
'Logout URL',
'',
type=Config.FieldType.TEXT,
help=_('Redirect URL after logout. If empty, the user will be redirected to the login page.'),
)
EXPERIMENTAL_FEATURES: Config.Value = Config.section(Config.SectionType.GLOBAL).value(
'Experimental Features',
'0',
@ -857,3 +850,8 @@ def _post_migrate(sender: typing.Any, **kwargs: typing.Any) -> None:
signals.pre_migrate.connect(_pre_migrate)
signals.post_migrate.connect(_post_migrate)
# Removed fields, to ensure they are removed from database
# Will be here for at least one major version, so we can remove them from database for sure
Config.removed(Config.SectionType.CUSTOM, 'Logout URL') # Removed on 4.0

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long