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:
parent
1fd5c5b49a
commit
7526132f96
@ -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
Loading…
Reference in New Issue
Block a user