Moved logging level setting to admin panel

This commit is contained in:
CasVT
2024-03-03 16:01:15 +01:00
parent 42bc1178f9
commit a88cc8a36a
8 changed files with 96 additions and 15 deletions

View File

@@ -36,8 +36,8 @@ from frontend.input_validation import (AllowNewAccountsVariable, ColorVariable,
EditTimeVariable, EditTitleVariable,
EditURLVariable, HostVariable,
LoginTimeResetVariable,
LoginTimeVariable, Method, Methods,
NewPasswordVariable,
LoginTimeVariable, LogLevelVariable,
Method, Methods, NewPasswordVariable,
NotificationServicesVariable,
PasswordCreateVariable,
PasswordVariable, PortVariable,
@@ -705,7 +705,7 @@ def api_settings():
put=Method(
vars=[AllowNewAccountsVariable, LoginTimeVariable,
LoginTimeResetVariable, HostVariable, PortVariable,
UrlPrefixVariable],
UrlPrefixVariable, LogLevelVariable],
description='Edit the admin settings. Supplying a hosting setting will automatically restart MIND.'
)
),