Files
metabuilder/packages/admin_dialog/seed/scripts/settings/security.lua
T
git 8190255e7c feat: Refactor package installation and validation scripts
- Updated ContactForm example to remove type casting on handleInputChange.
- Enhanced package installation scripts with type definitions for better type safety.
- Implemented package uninstallation and installation checks with improved type definitions.
- Added new Lua scripts for admin settings, code editor features, and user management.
- Introduced schema editor field types and validation rules for form inputs.
- Created social feed components and workflow editor nodes for enhanced functionality.
- Developed layout modules for various UI levels, including admin and supergod panels.
2025-12-30 00:05:03 +00:00

16 lines
453 B
Lua

-- Admin settings security section
local function security_settings()
return {
type = "settings_section",
id = "security",
title = "Security Settings",
fields = {
{ id = "twoFactor", type = "switch", label = "Require 2FA" },
{ id = "sessionTimeout", type = "number", label = "Session Timeout (min)" },
{ id = "maxLoginAttempts", type = "number", label = "Max Login Attempts" }
}
}
end
return security_settings