Fix username form settings

pull/1/head
Anthony 2025-04-08 01:25:47 +08:00
parent e1e8b31101
commit 4cfaed134a
1 changed files with 0 additions and 4 deletions

View File

@ -18,16 +18,12 @@ settings:
description: "A user-specific directory will be created under /home/username" description: "A user-specific directory will be created under /home/username"
required: false required: false
- type: string - type: string
inputType: text
name: username name: username
caption: SFTP Username caption: SFTP Username
placeholder: "Enter username"
description: "Enter the desired username (3-32 characters, letters, numbers, and underscores only)" description: "Enter the desired username (3-32 characters, letters, numbers, and underscores only)"
required: true required: true
regex: ^[a-zA-Z0-9_]{3,32}$ regex: ^[a-zA-Z0-9_]{3,32}$
regexText: "Username must be 3-32 characters long and contain only letters, numbers, and underscores" regexText: "Username must be 3-32 characters long and contain only letters, numbers, and underscores"
hideLabel: false
hidden: false
- type: checkbox - type: checkbox
name: allow name: allow
caption: Accept User Creation caption: Accept User Creation